#502E22
Closest named color: Onyx (#343A40). oklch(34.1% 0.054 40.1), rgb(80, 46, 34).
Aa
White text reads best on this color (11.96:1).
About this color
#502E22 is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.054 and its hue 40°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.066 away. White text reads best on it, at 11.96:1.
| Hue family | Browns |
| Lightness | dark (34%) |
| Chroma | muted (0.054) |
| Temperature | warm |
| Nearest name | Onyx (#343A40) |
| Black text | 1.75:1 |
| White text | 11.96:1 |
Values
| HEX | #502E22 |
| RGB | rgb(80, 46, 34) |
| HSL | hsl(16, 40%, 22%) |
| OKLCH | oklch(34.1% 0.054 40.1) |
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 #502E22 | 11.96:1 | AAA | Lc -100.8 | Preferred for body text |
| Black text on #502E22 | 1.75:1 | Fails | Lc 0.0 | Not readable |
| #502E22 text on white | 11.96:1 | AAA | Lc 97.2 | Preferred for body text |
| #502E22 text on black | 1.75:1 | Fails | Lc 0.0 | 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
#F9F4F3
oklch(97.1% 0.006 31.1)
-
Step 100
100
#F1E7E4
oklch(93.5% 0.012 37.4)
-
Step 200
200
#E7D5CE
oklch(88.6% 0.022 42.6)
-
Step 300
300
#D9B8AD
oklch(80.8% 0.041 39.3)
-
Step 400
400
#C59382
oklch(70.7% 0.066 39.6)
-
Step 500
500
#B57863
oklch(63.1% 0.083 39.8)
-
Step 600
600
#A0604A
oklch(55.6% 0.09 39.7)
-
Step 700
700
#894F3B
oklch(49.1% 0.084 39.7)
-
Step 800
800
#6F4131
oklch(42.6% 0.069 39.9)
-
Step 900
900 (this color)
#502E22
oklch(34.1% 0.054 40.1)
-
Step 950
950
#352119
oklch(27.1% 0.034 42.6)
#502E22 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) | #373221 | 0.050 |
| Deuteranopia (no green cones) | #3F3922 | 0.045 |
| Tritanopia (no blue cones) | #57282B | 0.029 |
| Achromatopsia (no color) | #373737 | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #502E22
#502E22
oklch(34.1% 0.054 40.1)
- #0E3E4C
#0E3E4C
oklch(34% 0.055 221.7)
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 #502E22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.066
- Charcoal Grey #3C4142 ΔE 0.068
- Purple Brown #673A3F ΔE 0.071
- Chocolate Brown #411900 ΔE 0.074
- Reddy Brown #6E1005 ΔE 0.076
- Chestnut #742802 ΔE 0.076
- Pakistan Green #283618 ΔE 0.081
- Gunmetal #293241 ΔE 0.083
Use #502E22 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.