#512D22
Closest named color: Onyx (#343A40). oklch(34% 0.057 37.8), rgb(81, 45, 34).
Aa
White text reads best on this color (12.01:1).
About this color
#512D22 is a dark, muted red. In OKLCH its lightness is 34%, its chroma 0.057 and its hue 38°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.069 away. White text reads best on it, at 12.01:1.
| Hue family | Reds |
| Lightness | dark (34%) |
| Chroma | muted (0.057) |
| Temperature | warm |
| Nearest name | Onyx (#343A40) |
| Black text | 1.74:1 |
| White text | 12.01:1 |
Values
| HEX | #512D22 |
| RGB | rgb(81, 45, 34) |
| HSL | hsl(14, 41%, 23%) |
| OKLCH | oklch(34% 0.057 37.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 #512D22 | 12.01:1 | AAA | Lc -100.9 | Preferred for body text |
| Black text on #512D22 | 1.74:1 | Fails | Lc 0.0 | Not readable |
| #512D22 text on white | 12.01:1 | AAA | Lc 97.3 | Preferred for body text |
| #512D22 text on black | 1.74: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
#F2E7E4
oklch(93.6% 0.013 35.7)
-
Step 200
200
#E8D4CE
oklch(88.5% 0.024 37.4)
-
Step 300
300
#DAB8AD
oklch(80.9% 0.042 38.7)
-
Step 400
400
#C79282
oklch(70.7% 0.069 37.5)
-
Step 500
500
#B77763
oklch(63.1% 0.086 38.1)
-
Step 600
600
#A25F4A
oklch(55.6% 0.094 38.2)
-
Step 700
700
#8B4E3B
oklch(49.2% 0.088 38.1)
-
Step 800
800
#714031
oklch(42.7% 0.073 37.8)
-
Step 900
900 (this color)
#512D22
oklch(34% 0.057 37.8)
-
Step 950
950
#36201A
oklch(27% 0.036 36)
#512D22 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) | #363221 | 0.054 |
| Deuteranopia (no green cones) | #3F3922 | 0.049 |
| Tritanopia (no blue cones) | #58272A | 0.027 |
| Achromatopsia (no color) | #363636 | 0.057 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512D22
#512D22
oklch(34% 0.057 37.8)
- #093F4B
#093F4B
oklch(34.1% 0.056 217)
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 #512D22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.069
- Purple Brown #673A3F ΔE 0.070
- Charcoal Grey #3C4142 ΔE 0.071
- Reddy Brown #6E1005 ΔE 0.073
- Chocolate Brown #411900 ΔE 0.073
- Chestnut #742802 ΔE 0.075
- Claret #680018 ΔE 0.081
- Pakistan Green #283618 ΔE 0.084
Use #512D22 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.