#504142
Closest named color: Charcoal Grey (#3C4142). oklch(39.1% 0.021 13.6), rgb(80, 65, 66).
Aa
White text reads best on this color (9.65:1).
About this color
#504142 is a dark close to neutral grey. In OKLCH its lightness is 39%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.034 away. White text reads best on it, at 9.65:1.
| Hue family | Neutrals |
| Lightness | dark (39%) |
| Chroma | close to neutral grey (0.021) |
| Temperature | neutral |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 2.17:1 |
| White text | 9.65:1 |
Values
| HEX | #504142 |
| RGB | rgb(80, 65, 66) |
| HSL | hsl(356, 10%, 28%) |
| OKLCH | oklch(39.1% 0.021 13.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #504142 | 9.65:1 | AAA | Lc -96.6 | Preferred for body text |
| Black text on #504142 | 2.17:1 | Fails | Lc 11.6 | Not readable |
| #504142 text on white | 9.65:1 | AAA | Lc 92.4 | Preferred for body text |
| #504142 text on black | 2.17:1 | Fails | Lc -10.1 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.
-
Step 50
50
#F7F5F5
oklch(97.2% 0.002 17.2)
-
Step 100
100
#EDE9E9
oklch(93.7% 0.004 17.2)
-
Step 200
200
#DFD7D7
oklch(88.6% 0.009 17.3)
-
Step 300
300
#CABDBD
oklch(80.9% 0.015 17.5)
-
Step 400
400
#B09B9C
oklch(70.8% 0.025 14.5)
-
Step 500
500
#9C8284
oklch(63.1% 0.032 12.8)
-
Step 600
600
#866B6D
oklch(55.5% 0.035 13.2)
-
Step 700
700
#72595B
oklch(49% 0.033 13)
-
Step 800
800
#5D494B
oklch(42.7% 0.027 11.5)
-
Step 900
900 (this color)
#504142
oklch(39.1% 0.021 13.6)
-
Step 950
950
#2D2424
oklch(27.1% 0.014 18)
#504142 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #434342 | 0.023 |
| Deuteranopia (no green cones) | #474642 | 0.021 |
| Tritanopia (no blue cones) | #534041 | 0.006 |
| Achromatopsia (no color) | #454545 | 0.021 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #504142
#504142
oklch(39.1% 0.021 13.6)
- #394948
#394948
oklch(39.1% 0.02 191.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #504142, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.034
- Purple Brown #673A3F ΔE 0.045
- Onyx #343A40 ΔE 0.055
- Dark Slate Gray #2F4F4F ΔE 0.060
- Charcoal #264653 ΔE 0.064
- Dark Grey Blue #29465B ΔE 0.067
- Mud Brown #60460F ΔE 0.075
- Brownish Purple #76424E ΔE 0.076
Use #504142 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.