#512F2C
Closest named color: Onyx (#343A40). oklch(34.7% 0.051 25.4), rgb(81, 47, 44).
Aa
White text reads best on this color (11.71:1).
About this color
#512F2C is a dark, muted red. In OKLCH its lightness is 35%, its chroma 0.051 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.061 away. White text reads best on it, at 11.71:1.
| Hue family | Reds |
| Lightness | dark (35%) |
| Chroma | muted (0.051) |
| Temperature | warm |
| Nearest name | Onyx (#343A40) |
| Black text | 1.79:1 |
| White text | 11.71:1 |
Values
| HEX | #512F2C |
| RGB | rgb(81, 47, 44) |
| HSL | hsl(5, 30%, 25%) |
| OKLCH | oklch(34.7% 0.051 25.4) |
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 #512F2C | 11.71:1 | AAA | Lc -100.4 | Preferred for body text |
| Black text on #512F2C | 1.79:1 | Fails | Lc 0.0 | Not readable |
| #512F2C text on white | 11.71:1 | AAA | Lc 96.8 | Preferred for body text |
| #512F2C text on black | 1.79: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
#F9F4F4
oklch(97.1% 0.005 17.2)
-
Step 100
100
#F1E7E6
oklch(93.6% 0.011 24.3)
-
Step 200
200
#E7D4D2
oklch(88.5% 0.021 24.8)
-
Step 300
300
#D8B8B4
oklch(80.9% 0.037 26.4)
-
Step 400
400
#C4928D
oklch(70.6% 0.061 25.2)
-
Step 500
500
#B47771
oklch(63.1% 0.078 25.7)
-
Step 600
600
#9F5F5A
oklch(55.6% 0.085 24.9)
-
Step 700
700
#884E4A
oklch(49.1% 0.079 24.5)
-
Step 800
800
#6E403C
oklch(42.6% 0.065 25.5)
-
Step 900
900 (this color)
#512F2C
oklch(34.7% 0.051 25.4)
-
Step 950
950
#35201E
oklch(27% 0.033 25.5)
#512F2C 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) | #36342C | 0.053 |
| Deuteranopia (no green cones) | #3F3B2B | 0.049 |
| Tritanopia (no blue cones) | #582B2E | 0.018 |
| Achromatopsia (no color) | #383838 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #512F2C
#512F2C
oklch(34.7% 0.051 25.4)
- #114146
#114146
oklch(34.6% 0.051 205)
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 #512F2C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Onyx #343A40 ΔE 0.061
- Purple Brown #673A3F ΔE 0.061
- Charcoal Grey #3C4142 ΔE 0.062
- Gunmetal #293241 ΔE 0.078
- Reddy Brown #6E1005 ΔE 0.079
- Chestnut #742802 ΔE 0.079
- Space Cadet #2B2D42 ΔE 0.082
- Claret #680018 ΔE 0.084
Use #512F2C 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.