#5F291F#5F291F
#5F291F is a dark, moderate red. Relative luminance 0.041; OKLCH L 35.4% C 0.081 H 32.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5F291F |
|---|---|
| RGB | rgb(95, 41, 31) |
| HSL | hsl(9, 51%, 25%) |
| HSV | hsv(9, 67%, 37%) |
| CMYK | cmyk(0%, 56.8%, 67.4%, 62.7%) |
| CIE-LAB | lab(24.06, 23.73, 18.23) |
| CIE-LCH | lch(24.06, 29.93, 37.54°) |
| OKLab | oklab(35.43% 0.0689 0.0432) |
| OKLCH | oklch(35.43% 0.081 32.1) |
| XYZ | xyz(5.7601, 4.1184, 1.7877) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 7.47
Rosewood
#65000B
ΔE00 7.92
Chocolate Brown
#411900
ΔE00 8.51
Wine
#722F37
ΔE00 8.54
Dried Blood
#4B0101
ΔE00 8.85
Mahogany
#4A0100
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F291F #1F555F
analogous
#5F1F35 #5F291F #5F491F
triadic
#5F291F #1F5F29 #291F5F
tetradic
#5F291F #355F1F #1F555F #491F5F
square
#5F291F #355F1F #1F555F #491F5F
split-complementary
#5F291F #1F5F49 #1F355F
monochromatic
#170A08 #311510 #5F291F #8D3D2E #BB513D
Accessibility & contrast
On white
11.52
#5F291F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#5F291F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F291F
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F291F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F291F | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#443E1E
Tritanopia (blue-blind)
#681F27
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #5f291f; /* rgb */ color: rgb(95, 41, 31); /* oklch */ color: oklch(35.4% 0.081 32.1);
Tailwind
colors: {
custom: {
50: '#91645a',
500: '#5f291f',
950: '#000000',
},
}SCSS
$custom: #5f291f; $custom-light: #91645a; $custom-dark: #000000;
JSON
{
"hex": "#5f291f",
"rgb": {
"r": 95,
"g": 41,
"b": 31
},
"hsl": {
"h": 9.375,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.35434,
"c": 0.08136,
"h": 32.1
},
"luminance": 0.04118
}Semantic roles & 50–950 ramp
primary
#5F291F
secondary
#468894
accent
#C4DA4E
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0504
muted
#7E7A79