#512E2F#512E2F
#512E2F is a dark, muted red. Relative luminance 0.039; OKLCH L 34.6% C 0.052 H 18.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #512E2F |
|---|---|
| RGB | rgb(81, 46, 47) |
| HSL | hsl(358, 28%, 25%) |
| HSV | hsv(358, 43%, 32%) |
| CMYK | cmyk(0%, 43.2%, 42%, 68.2%) |
| CIE-LAB | lab(23.37, 16.19, 6.25) |
| CIE-LCH | lch(23.37, 17.35, 21.09°) |
| OKLab | oklab(34.56% 0.049 0.0162) |
| OKLCH | oklch(34.56% 0.052 18.2) |
| XYZ | xyz(4.8836, 3.9090, 3.1861) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purple Brown
#673A3F
ΔE00 5.79
Purplish Brown
#6B4247
ΔE00 7.51
Wine
#722F37
ΔE00 8.57
Brownish Purple
#76424E
ΔE00 10.26
Espresso
#4B382A
ΔE00 11.27
Burgundy (survey)
#610023
ΔE00 11.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512E2F #2E5150
analogous
#512E40 #512E2F #513F2E
triadic
#512E2F #2F512E #2E2F51
tetradic
#512E2F #40512E #2E5150 #3F2E51
square
#512E2F #40512E #2E5150 #3F2E51
split-complementary
#512E2F #2E513F #2E4051
monochromatic
#140B0B #2A1818 #512E2F #784446 #9F5A5C
Accessibility & contrast
On white
11.79
#512E2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#512E2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512E2F
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512E2F | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#3D3A2E
Tritanopia (blue-blind)
#572A2F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #512e2f; /* rgb */ color: rgb(81, 46, 47); /* oklch */ color: oklch(34.6% 0.052 18.2);
Tailwind
colors: {
custom: {
50: '#836767',
500: '#512e2f',
950: '#000000',
},
}SCSS
$custom: #512e2f; $custom-light: #836767; $custom-dark: #000000;
JSON
{
"hex": "#512e2f",
"rgb": {
"r": 81,
"g": 46,
"b": 47
},
"hsl": {
"h": 358.286,
"s": 27.559,
"l": 24.902
},
"oklch": {
"l": 0.34558,
"c": 0.0516,
"h": 18.2
},
"luminance": 0.03909
}Semantic roles & 50–950 ramp
primary
#512E2F
secondary
#588381
accent
#C4C164
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A