Nearest-color comparison

Aubergine vs Onyx

Aubergine and Onyx are different pink and gray colors with HEX values #472C4C and #353839. According to Colors Encyclopedia, their RGB distance is 28.8, their contrast ratio is 1.03:1, and the comparison helps choose between tone, temperature, and accessibility behavior.

Aubergine and Onyx are visually related colors. Onyx is the lighter option. Aubergine reads warmer. Their mutual contrast is 1.03:1, so the pair is too low for text and better treated as a palette relationship.

Aubergine#472C4C
Onyx#353839

Quick Difference Summary

The main measurable differences between Aubergine and Onyx across RGB distance, luminance, hue, saturation, and contrast.

RGB distance28.8
Pair contrast1.03:1
Luminance delta0.0022
Hue delta96 deg
Lighter colorOnyx
More saturatedAubergine

Side-by-Side Color Profiles

pink color

Aubergine

Aubergine is #472C4C, a warm pink color with dark character. Compared with Onyx, it is darker and more saturated. Use it for beauty branding, creative systems, and premium accents, with white text as the safer foreground option.

HEX#472C4C RGB71, 44, 76 HSL291, 27, 24 CMYK7, 42, 0, 70 Luminance0.0366 Best textwhite text

gray color

Onyx

Onyx is #353839, a neutral gray color with dark character. Compared with Aubergine, it is lighter and less saturated. Use it for backgrounds, typography, and product surfaces, with white text as the safer foreground option.

HEX#353839 RGB53, 56, 57 HSL195, 4, 22 CMYK7, 2, 0, 78 Luminance0.0388 Best textwhite text

When to Use Aubergine or Onyx

Choose AubergineAubergine is better when the design needs dark pink character, warm temperature, and the specific HEX value #472C4C.
Choose OnyxOnyx is better when the design needs dark gray character, neutral temperature, and the specific HEX value #353839.
Use togetherUse these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs.

Technical Comparison Table

PropertyAubergineOnyx
HEX#472C4C#353839
RGB71, 44, 7653, 56, 57
HSL291, 27, 24195, 4, 22
CMYK7, 42, 0, 707, 2, 0, 78
FamilyPinkGray
TemperatureWarmNeutral
ToneDarkDark
Luminance0.03660.0388
Black contrast1.73:11.78:1
White contrast12.12:111.82:1
Shared tonesDark

Accessibility and Contrast

Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.

Auberginewhite text - 12.12:1
Onyxwhite text - 11.82:1

Related Palette Strip

A compact visual strip showing the two compared colors with nearby harmony and variant context.

Aubergine#472C4C
Onyx#353839
#7F4E88#7F4E88
#62686A#62686A
#324E2D#324E2D
#3A3736#3A3736

Machine-readable data

Machine-Readable Aubergine vs Onyx Data (JSON)

Structured comparison data for Aubergine and Onyx, including color systems, RGB distance, HSL deltas, contrast, accessibility guidance, use cases, and API links.

AI-Ready Dataset v1.0.0
colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Download JSON Open API
Structured sections
Colors
[
  {
    "slug": "aubergine",
    "name": "Aubergine",
    "hex": "#472C4C",
    "rgb": [
      71,
      44,
      76
    ],
    "hsl": [
      291,
      27,
      24
    ],
    "cmyk": [
      7,
      42,
      0,
      70
    ],
    "family": "pink",
    "temperature": "warm",
    "tone": [
      "dark"
    ],
    "luminance": 0.0366,
    "contrast": {
      "black": 1.73,
      "white": 12.12
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 12.12
    },
    "description": "Aubergine is #472C4C, a warm pink color with dark character. Compared with Onyx, it is darker and more saturated. Use it for beauty branding, creative systems, and premium accents, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/aubergine/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/aubergine.json"
  },
  {
    "slug": "onyx",
    "name": "Onyx",
    "hex": "#353839",
    "rgb": [
      53,
      56,
      57
    ],
    "hsl": [
      195,
      4,
      22
    ],
    "cmyk": [
      7,
      2,
      0,
      78
    ],
    "family": "gray",
    "temperature": "neutral",
    "tone": [
      "dark"
    ],
    "luminance": 0.0388,
    "contrast": {
      "black": 1.78,
      "white": 11.82
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 11.82
    },
    "description": "Onyx is #353839, a neutral gray color with dark character. Compared with Aubergine, it is lighter and less saturated. Use it for backgrounds, typography, and product surfaces, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/onyx/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/onyx.json"
  }
]
Differences
{
  "rgbDistance": 28.8,
  "contrastRatio": 1.03,
  "hslDelta": {
    "hue": 96,
    "saturation": 23,
    "lightness": 2
  },
  "luminanceDelta": 0.0022,
  "sameFamily": false,
  "sameTemperature": false,
  "sharedTones": [
    "dark"
  ],
  "lighterColor": "Onyx",
  "moreSaturatedColor": "Aubergine"
}
Accessibility
{
  "pairContrastRatio": 1.03,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Aubergine",
      "background": "#472C4C",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 12.12
    },
    {
      "color": "Onyx",
      "background": "#353839",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 11.82
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Aubergine is better when the design needs dark pink character, warm temperature, and the specific HEX value #472C4C.",
  "chooseSecondWhen": "Onyx is better when the design needs dark gray character, neutral temperature, and the specific HEX value #353839.",
  "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
}
Related API
[
  "https://www.colorsencyclopedia.com/api/compare/aubergine-vs-onyx.json",
  "https://www.colorsencyclopedia.com/api/colors/aubergine.json",
  "https://www.colorsencyclopedia.com/api/colors/onyx.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "aubergine-vs-onyx",
  "type": "nearest",
  "name": "Aubergine vs Onyx",
  "verdict": "Aubergine and Onyx are visually related colors. Onyx is the lighter option. Aubergine reads warmer. Their mutual contrast is 1.03:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Aubergine and Onyx are different pink and gray colors with HEX values #472C4C and #353839. According to Colors Encyclopedia, their RGB distance is 28.8, their contrast ratio is 1.03:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 28.8,
  "contrastRatio": 1.03,
  "colors": [
    {
      "slug": "aubergine",
      "name": "Aubergine",
      "hex": "#472C4C",
      "rgb": [
        71,
        44,
        76
      ],
      "hsl": [
        291,
        27,
        24
      ],
      "cmyk": [
        7,
        42,
        0,
        70
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "dark"
      ],
      "luminance": 0.0366,
      "contrast": {
        "black": 1.73,
        "white": 12.12
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 12.12
      },
      "description": "Aubergine is #472C4C, a warm pink color with dark character. Compared with Onyx, it is darker and more saturated. Use it for beauty branding, creative systems, and premium accents, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/aubergine/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/aubergine.json"
    },
    {
      "slug": "onyx",
      "name": "Onyx",
      "hex": "#353839",
      "rgb": [
        53,
        56,
        57
      ],
      "hsl": [
        195,
        4,
        22
      ],
      "cmyk": [
        7,
        2,
        0,
        78
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0388,
      "contrast": {
        "black": 1.78,
        "white": 11.82
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 11.82
      },
      "description": "Onyx is #353839, a neutral gray color with dark character. Compared with Aubergine, it is lighter and less saturated. Use it for backgrounds, typography, and product surfaces, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/onyx/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/onyx.json"
    }
  ],
  "differences": {
    "rgbDistance": 28.8,
    "contrastRatio": 1.03,
    "hslDelta": {
      "hue": 96,
      "saturation": 23,
      "lightness": 2
    },
    "luminanceDelta": 0.0022,
    "sameFamily": false,
    "sameTemperature": false,
    "sharedTones": [
      "dark"
    ],
    "lighterColor": "Onyx",
    "moreSaturatedColor": "Aubergine"
  },
  "accessibility": {
    "pairContrastRatio": 1.03,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Aubergine",
        "background": "#472C4C",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 12.12
      },
      {
        "color": "Onyx",
        "background": "#353839",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 11.82
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Aubergine is better when the design needs dark pink character, warm temperature, and the specific HEX value #472C4C.",
    "chooseSecondWhen": "Onyx is better when the design needs dark gray character, neutral temperature, and the specific HEX value #353839.",
    "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
  },
  "relatedApi": [
    "https://www.colorsencyclopedia.com/api/compare/aubergine-vs-onyx.json",
    "https://www.colorsencyclopedia.com/api/colors/aubergine.json",
    "https://www.colorsencyclopedia.com/api/colors/onyx.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/aubergine-vs-onyx/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/aubergine-vs-onyx.json"
}