#5F2227#5F2227
#5F2227 is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.5% C 0.089 H 18.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5F2227 |
|---|---|
| RGB | rgb(95, 34, 39) |
| HSL | hsl(355, 47%, 25%) |
| HSV | hsv(355, 64%, 37%) |
| CMYK | cmyk(0%, 64.2%, 58.9%, 62.7%) |
| CIE-LAB | lab(22.74, 28.26, 11.18) |
| CIE-LCH | lch(22.74, 30.39, 21.59°) |
| OKLab | oklab(34.49% 0.0846 0.0278) |
| OKLCH | oklch(34.49% 0.089 18.2) |
| XYZ | xyz(5.6580, 3.7241, 2.3399) |
| Luminance | 0.0372 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 4.97
Maroon (survey)
#650021
ΔE00 6.00
Claret
#680018
ΔE00 6.13
Burgundy (survey)
#610023
ΔE00 6.54
Purple Brown
#673A3F
ΔE00 7.25
Wine Red
#7B0323
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F2227 #225F5A
analogous
#5F2245 #5F2227 #5F3B22
triadic
#5F2227 #275F22 #22275F
tetradic
#5F2227 #455F22 #225F5A #3B225F
square
#5F2227 #455F22 #225F5A #3B225F
split-complementary
#5F2227 #225F3B #22455F
monochromatic
#170809 #321214 #5F2227 #8C323A #B9424C
Accessibility & contrast
On white
12.04
#5F2227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#5F2227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F2227
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F2227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F2227 | 1.00 | 12.04 | 1.74 | 12.04 |
| #FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302E27
Deuteranopia (green-blind)
#403B26
Tritanopia (blue-blind)
#681824
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5f2227; /* rgb */ color: rgb(95, 34, 39); /* oklch */ color: oklch(34.5% 0.089 18.2);
Tailwind
colors: {
custom: {
50: '#906060',
500: '#5f2227',
950: '#000000',
},
}SCSS
$custom: #5f2227; $custom-light: #906060; $custom-dark: #000000;
JSON
{
"hex": "#5f2227",
"rgb": {
"r": 95,
"g": 34,
"b": 39
},
"hsl": {
"h": 355.082,
"s": 47.287,
"l": 25.294
},
"oklch": {
"l": 0.34487,
"c": 0.08903,
"h": 18.2
},
"luminance": 0.03723
}Semantic roles & 50–950 ramp
primary
#5F2227
secondary
#4A938D
accent
#D7CC51
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0505
muted
#7E7979