#51312E#51312E
#51312E is a dark, muted red. Relative luminance 0.041; OKLCH L 35.1% C 0.047 H 25.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #51312E |
|---|---|
| RGB | rgb(81, 49, 46) |
| HSL | hsl(5, 28%, 25%) |
| HSV | hsv(5, 43%, 32%) |
| CMYK | cmyk(0%, 39.5%, 43.2%, 68.2%) |
| CIE-LAB | lab(24.14, 14.14, 8.00) |
| CIE-LCH | lch(24.14, 16.24, 29.49°) |
| OKLab | oklab(35.14% 0.0427 0.0205) |
| OKLCH | oklch(35.14% 0.047 25.6) |
| XYZ | xyz(4.9850, 4.1436, 3.1215) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Purple Brown
#673A3F
ΔE00 6.69
Purplish Brown
#6B4247
ΔE00 7.95
Espresso
#4B382A
ΔE00 9.04
Wine
#722F37
ΔE00 9.66
Chocolate Brown
#411900
ΔE00 10.94
Brownish Purple
#76424E
ΔE00 11.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51312E #2E4E51
analogous
#512E3D #51312E #51432E
triadic
#51312E #2E5131 #312E51
tetradic
#51312E #3D512E #2E4E51 #432E51
square
#51312E #3D512E #2E4E51 #432E51
split-complementary
#51312E #2E5143 #2E3D51
monochromatic
#140C0B #2A1918 #51312E #784944 #9F605A
Accessibility & contrast
On white
11.48
#51312E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#51312E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51312E
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51312E | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38362E
Deuteranopia (green-blind)
#3F3C2E
Tritanopia (blue-blind)
#572D30
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #51312e; /* rgb */ color: rgb(81, 49, 46); /* oklch */ color: oklch(35.1% 0.047 25.6);
Tailwind
colors: {
custom: {
50: '#836966',
500: '#51312e',
950: '#000000',
},
}SCSS
$custom: #51312e; $custom-light: #836966; $custom-dark: #000000;
JSON
{
"hex": "#51312e",
"rgb": {
"r": 81,
"g": 49,
"b": 46
},
"hsl": {
"h": 5.143,
"s": 27.559,
"l": 24.902
},
"oklch": {
"l": 0.35141,
"c": 0.04737,
"h": 25.6
},
"luminance": 0.04143
}Semantic roles & 50–950 ramp
primary
#51312E
secondary
#587F83
accent
#BCC464
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A