#57271B#57271B
#57271B is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.7% C 0.074 H 35.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #57271B |
|---|---|
| RGB | rgb(87, 39, 27) |
| HSL | hsl(12, 53%, 22%) |
| HSV | hsv(12, 69%, 34%) |
| CMYK | cmyk(0%, 55.2%, 69%, 65.9%) |
| CIE-LAB | lab(22.15, 21.07, 18.18) |
| CIE-LCH | lch(22.15, 27.83, 40.78°) |
| OKLab | oklab(33.68% 0.0608 0.0429) |
| OKLCH | oklch(33.68% 0.074 35.2) |
| XYZ | xyz(4.8542, 3.5570, 1.4676) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 6.55
Chocolate (survey)
#3D1C02
ΔE00 8.01
Reddy Brown
#6E1005
ΔE00 8.32
Dried Blood
#4B0101
ΔE00 8.67
Mahogany
#4A0100
ΔE00 8.69
Rosewood
#65000B
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57271B #1B4B57
analogous
#571B2D #57271B #57451B
triadic
#57271B #1B5727 #271B57
tetradic
#57271B #2D571B #1B4B57 #451B57
square
#57271B #2D571B #1B4B57 #451B57
split-complementary
#57271B #1B5745 #1B2D57
monochromatic
#170A07 #28120D #57271B #863C29 #B45138
Accessibility & contrast
On white
12.27
#57271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#57271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57271B
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57271B | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332F1A
Deuteranopia (green-blind)
#3F391A
Tritanopia (blue-blind)
#601E24
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #57271b; /* rgb */ color: rgb(87, 39, 27); /* oklch */ color: oklch(33.7% 0.074 35.2);
Tailwind
colors: {
custom: {
50: '#8a6257',
500: '#57271b',
950: '#000000',
},
}SCSS
$custom: #57271b; $custom-light: #8a6257; $custom-dark: #000000;
JSON
{
"hex": "#57271b",
"rgb": {
"r": 87,
"g": 39,
"b": 27
},
"hsl": {
"h": 12,
"s": 52.632,
"l": 22.353
},
"oklch": {
"l": 0.33684,
"c": 0.07442,
"h": 35.2
},
"luminance": 0.03556
}Semantic roles & 50–950 ramp
primary
#57271B
secondary
#417E8D
accent
#BFDC4C
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978