#58271F#58271F
#58271F is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.074 H 30.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #58271F |
|---|---|
| RGB | rgb(88, 39, 31) |
| HSL | hsl(8, 48%, 23%) |
| HSV | hsv(8, 65%, 35%) |
| CMYK | cmyk(0%, 55.7%, 64.8%, 65.5%) |
| CIE-LAB | lab(22.39, 21.84, 15.89) |
| CIE-LCH | lch(22.39, 27.01, 36.04°) |
| OKLab | oklab(33.92% 0.0639 0.0382) |
| OKLCH | oklch(33.92% 0.074 30.9) |
| XYZ | xyz(4.9978, 3.6253, 1.7326) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 7.85
Dried Blood
#4B0101
ΔE00 8.24
Mahogany
#4A0100
ΔE00 8.29
Rosewood
#65000B
ΔE00 8.38
Wine
#722F37
ΔE00 8.68
Reddy Brown
#6E1005
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#58271F #1F5058
analogous
#581F33 #58271F #58431F
triadic
#58271F #1F5827 #271F58
tetradic
#58271F #33581F #1F5058 #431F58
square
#58271F #33581F #1F5058 #431F58
split-complementary
#58271F #1F5843 #1F3358
monochromatic
#170A08 #2B130F #58271F #853B2F #B34F3F
Accessibility & contrast
On white
12.17
#58271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#58271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #58271F
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##58271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##58271F | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3F3A1E
Tritanopia (blue-blind)
#611E25
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #58271f; /* rgb */ color: rgb(88, 39, 31); /* oklch */ color: oklch(33.9% 0.074 30.9);
Tailwind
colors: {
custom: {
50: '#8b625a',
500: '#58271f',
950: '#000000',
},
}SCSS
$custom: #58271f; $custom-light: #8b625a; $custom-dark: #000000;
JSON
{
"hex": "#58271f",
"rgb": {
"r": 88,
"g": 39,
"b": 31
},
"hsl": {
"h": 8.421,
"s": 47.899,
"l": 23.333
},
"oklch": {
"l": 0.33925,
"c": 0.07441,
"h": 30.9
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#58271F
secondary
#46838D
accent
#C5D750
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979