#502B40
Closest named color: Onyx (#343A40). oklch(34.4% 0.062 345.8), rgb(80, 43, 64).
Aa
White text reads best on this color (11.92:1).
About this color
#502B40 is a dark, muted red. In OKLCH its lightness is 34%, its chroma 0.062 and its hue 346°. 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.92:1.
| Hue family | Reds |
| Lightness | dark (34%) |
| Chroma | muted (0.062) |
| Temperature | warm |
| Nearest name | Onyx (#343A40) |
| Black text | 1.76:1 |
| White text | 11.92:1 |
Values
| HEX | #502B40 |
| RGB | rgb(80, 43, 64) |
| HSL | hsl(326, 30%, 24%) |
| OKLCH | oklch(34.4% 0.062 345.8) |
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 #502B40 | 11.92:1 | AAA | Lc -100.7 | Preferred for body text |
| Black text on #502B40 | 1.76:1 | Fails | Lc 0.0 | Not readable |
| #502B40 text on white | 11.92:1 | AAA | Lc 97.1 | Preferred for body text |
| #502B40 text on black | 1.76: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
#F9F4F6
oklch(97.2% 0.006 350.8)
-
Step 100
100
#F1E6EC
oklch(93.5% 0.014 343.2)
-
Step 200
200
#E7D3DD
oklch(88.6% 0.026 345.9)
-
Step 300
300
#D8B5C7
oklch(80.9% 0.047 345.8)
-
Step 400
400
#C38EAB
oklch(70.7% 0.075 345.2)
-
Step 500
500
#B37196
oklch(63% 0.096 345.5)
-
Step 600
600
#9E5980
oklch(55.6% 0.103 346)
-
Step 700
700
#87486C
oklch(49% 0.097 346)
-
Step 800
800
#6E3C58
oklch(42.7% 0.08 346.3)
-
Step 900
900 (this color)
#502B40
oklch(34.4% 0.062 345.8)
-
Step 950
950
#341E2B
oklch(26.9% 0.04 343.9)
#502B40 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) | #2E3341 | 0.066 |
| Deuteranopia (no green cones) | #37393F | 0.061 |
| Tritanopia (no blue cones) | #542B33 | 0.024 |
| Achromatopsia (no color) | #373737 | 0.063 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #502B40
#502B40
oklch(34.4% 0.062 345.8)
- #104331
#104331
oklch(34.4% 0.062 165.4)
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 #502B40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.066
- Grape Purple #5D1451 ΔE 0.066
- Purple Brown #673A3F ΔE 0.068
- Space Cadet #2B2D42 ΔE 0.071
- Charcoal Grey #3C4142 ΔE 0.073
- Gunmetal #293241 ΔE 0.073
- Burgundy #610023 ΔE 0.079
- Deep Violet #490648 ΔE 0.086
Use #502B40 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.