#512F2F#512F2F
#512F2F is a dark, muted red. Relative luminance 0.040; OKLCH L 34.8% C 0.050 H 19.9°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #512F2F |
|---|---|
| RGB | rgb(81, 47, 47) |
| HSL | hsl(0, 27%, 25%) |
| HSV | hsv(0, 42%, 32%) |
| CMYK | cmyk(0%, 42%, 42%, 68.2%) |
| CIE-LAB | lab(23.63, 15.56, 6.62) |
| CIE-LCH | lch(23.63, 16.90, 23.04°) |
| OKLab | oklab(34.76% 0.0471 0.0171) |
| OKLCH | oklch(34.76% 0.05 19.9) |
| XYZ | xyz(4.9232, 3.9880, 3.1992) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purple Brown
#673A3F
ΔE00 5.93
Purplish Brown
#6B4247
ΔE00 7.52
Wine
#722F37
ΔE00 8.83
Brownish Purple
#76424E
ΔE00 10.43
Espresso
#4B382A
ΔE00 10.67
Chocolate Brown
#411900
ΔE00 11.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#512F2F #2F5151
analogous
#512F40 #512F2F #51402F
triadic
#512F2F #2F512F #2F2F51
tetradic
#512F2F #40512F #2F5151 #402F51
square
#512F2F #40512F #2F5151 #402F51
split-complementary
#512F2F #2F5140 #2F4051
monochromatic
#130B0B #2A1919 #512F2F #784545 #9E5C5C
Accessibility & contrast
On white
11.68
#512F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#512F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #512F2F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##512F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##512F2F | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#3E3B2E
Tritanopia (blue-blind)
#572B2F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #512f2f; /* rgb */ color: rgb(81, 47, 47); /* oklch */ color: oklch(34.8% 0.050 19.9);
Tailwind
colors: {
custom: {
50: '#836867',
500: '#512f2f',
950: '#000000',
},
}SCSS
$custom: #512f2f; $custom-light: #836867; $custom-dark: #000000;
JSON
{
"hex": "#512f2f",
"rgb": {
"r": 81,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 26.562,
"l": 25.098
},
"oklch": {
"l": 0.34759,
"c": 0.05008,
"h": 19.9
},
"luminance": 0.03988
}Semantic roles & 50–950 ramp
primary
#512F2F
secondary
#598282
accent
#C3C365
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A