#5F271F#5F271F
#5F271F is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.1% C 0.084 H 30.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F271F |
|---|---|
| RGB | rgb(95, 39, 31) |
| HSL | hsl(8, 51%, 25%) |
| HSV | hsv(8, 67%, 37%) |
| CMYK | cmyk(0%, 58.9%, 67.4%, 62.7%) |
| CIE-LAB | lab(23.62, 24.86, 17.69) |
| CIE-LCH | lch(23.62, 30.51, 35.43°) |
| OKLab | oklab(35.1% 0.0725 0.042) |
| OKLCH | oklch(35.1% 0.084 30.1) |
| XYZ | xyz(5.6927, 3.9836, 1.7652) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 7.27
Reddy Brown
#6E1005
ΔE00 7.34
Wine
#722F37
ΔE00 7.97
Claret
#680018
ΔE00 8.15
Dried Blood
#4B0101
ΔE00 8.22
Mahogany
#4A0100
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F271F #1F575F
analogous
#5F1F37 #5F271F #5F471F
triadic
#5F271F #1F5F27 #271F5F
tetradic
#5F271F #375F1F #1F575F #471F5F
square
#5F271F #375F1F #1F575F #471F5F
split-complementary
#5F271F #1F5F47 #1F375F
monochromatic
#170908 #311410 #5F271F #8D3A2E #BB4D3D
Accessibility & contrast
On white
11.69
#5F271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#5F271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F271F
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F271F | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#433D1E
Tritanopia (blue-blind)
#681C25
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #5f271f; /* rgb */ color: rgb(95, 39, 31); /* oklch */ color: oklch(35.1% 0.084 30.1);
Tailwind
colors: {
custom: {
50: '#91635a',
500: '#5f271f',
950: '#000000',
},
}SCSS
$custom: #5f271f; $custom-light: #91635a; $custom-dark: #000000;
JSON
{
"hex": "#5f271f",
"rgb": {
"r": 95,
"g": 39,
"b": 31
},
"hsl": {
"h": 7.5,
"s": 50.794,
"l": 24.706
},
"oklch": {
"l": 0.35099,
"c": 0.08376,
"h": 30.1
},
"luminance": 0.03983
}Semantic roles & 50–950 ramp
primary
#5F271F
secondary
#468A94
accent
#C9DA4E
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0504
muted
#7E7A79