#5D251F#5D251F
#5D251F is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.4% C 0.084 H 28.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5D251F |
|---|---|
| RGB | rgb(93, 37, 31) |
| HSL | hsl(6, 50%, 24%) |
| HSV | hsv(6, 67%, 36%) |
| CMYK | cmyk(0%, 60.2%, 66.7%, 63.5%) |
| CIE-LAB | lab(22.83, 25.14, 16.62) |
| CIE-LCH | lch(22.83, 30.14, 33.47°) |
| OKLab | oklab(34.43% 0.0736 0.0397) |
| OKLCH | oklch(34.43% 0.084 28.3) |
| XYZ | xyz(5.4236, 3.7499, 1.7343) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 7.01
Claret
#680018
ΔE00 7.55
Dried Blood
#4B0101
ΔE00 7.61
Wine
#722F37
ΔE00 7.64
Mahogany
#4A0100
ΔE00 7.70
Reddy Brown
#6E1005
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D251F #1F575D
analogous
#5D1F38 #5D251F #5D441F
triadic
#5D251F #1F5D25 #251F5D
tetradic
#5D251F #385D1F #1F575D #441F5D
square
#5D251F #385D1F #1F575D #441F5D
split-complementary
#5D251F #1F5D44 #1F385D
monochromatic
#170908 #2F1310 #5D251F #8B372E #B94A3E
Accessibility & contrast
On white
12.00
#5D251F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#5D251F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D251F
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D251F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D251F | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#661B24
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5d251f; /* rgb */ color: rgb(93, 37, 31); /* oklch */ color: oklch(34.4% 0.084 28.3);
Tailwind
colors: {
custom: {
50: '#8f625a',
500: '#5d251f',
950: '#000000',
},
}SCSS
$custom: #5d251f; $custom-light: #8f625a; $custom-dark: #000000;
JSON
{
"hex": "#5d251f",
"rgb": {
"r": 93,
"g": 37,
"b": 31
},
"hsl": {
"h": 5.806,
"s": 50,
"l": 24.314
},
"oklch": {
"l": 0.3443,
"c": 0.08358,
"h": 28.3
},
"luminance": 0.03749
}Semantic roles & 50–950 ramp
primary
#5D251F
secondary
#468A92
accent
#CCDA4E
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0504
muted
#7E7979