#57271F#57271F
#57271F is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.8% C 0.073 H 31.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #57271F |
|---|---|
| RGB | rgb(87, 39, 31) |
| HSL | hsl(9, 47%, 23%) |
| HSV | hsv(9, 64%, 34%) |
| CMYK | cmyk(0%, 55.2%, 64.4%, 65.9%) |
| CIE-LAB | lab(22.22, 21.40, 15.63) |
| CIE-LCH | lch(22.22, 26.50, 36.16°) |
| OKLab | oklab(33.76% 0.0626 0.0376) |
| OKLCH | oklch(33.76% 0.073 31) |
| XYZ | xyz(4.9037, 3.5768, 1.7282) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 7.72
Dried Blood
#4B0101
ΔE00 8.29
Mahogany
#4A0100
ΔE00 8.33
Rosewood
#65000B
ΔE00 8.57
Wine
#722F37
ΔE00 8.81
Deep Brown
#410200
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57271F #1F4F57
analogous
#571F33 #57271F #57431F
triadic
#57271F #1F5727 #271F57
tetradic
#57271F #33571F #1F4F57 #431F57
square
#57271F #33571F #1F4F57 #431F57
split-complementary
#57271F #1F5743 #1F3357
monochromatic
#170A08 #2A130F #57271F #843B2F #B14F3F
Accessibility & contrast
On white
12.24
#57271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#57271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57271F
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57271F | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3F391E
Tritanopia (blue-blind)
#5F1F25
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #57271f; /* rgb */ color: rgb(87, 39, 31); /* oklch */ color: oklch(33.8% 0.073 31.0);
Tailwind
colors: {
custom: {
50: '#8a625a',
500: '#57271f',
950: '#000000',
},
}SCSS
$custom: #57271f; $custom-light: #8a625a; $custom-dark: #000000;
JSON
{
"hex": "#57271f",
"rgb": {
"r": 87,
"g": 39,
"b": 31
},
"hsl": {
"h": 8.571,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.3376,
"c": 0.07305,
"h": 31
},
"luminance": 0.03576
}Semantic roles & 50–950 ramp
primary
#57271F
secondary
#46828C
accent
#C4D751
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979