#56271B#56271B
#56271B is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.5% C 0.073 H 35.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #56271B |
|---|---|
| RGB | rgb(86, 39, 27) |
| HSL | hsl(12, 52%, 22%) |
| HSV | hsv(12, 69%, 34%) |
| CMYK | cmyk(0%, 54.7%, 68.6%, 66.3%) |
| CIE-LAB | lab(21.98, 20.62, 17.93) |
| CIE-LCH | lch(21.98, 27.33, 41.00°) |
| OKLab | oklab(33.52% 0.0596 0.0423) |
| OKLCH | oklch(33.52% 0.073 35.4) |
| XYZ | xyz(4.7615, 3.5092, 1.4633) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 6.39
Chocolate (survey)
#3D1C02
ΔE00 7.81
Reddy Brown
#6E1005
ΔE00 8.55
Dried Blood
#4B0101
ΔE00 8.73
Mahogany
#4A0100
ΔE00 8.74
Rosewood
#65000B
ΔE00 9.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56271B #1B4A56
analogous
#561B2D #56271B #56441B
triadic
#56271B #1B5627 #271B56
tetradic
#56271B #2D561B #1B4A56 #441B56
square
#56271B #2D561B #1B4A56 #441B56
split-complementary
#56271B #1B5644 #1B2D56
monochromatic
#170B07 #27120C #56271B #853C2A #B35138
Accessibility & contrast
On white
12.34
#56271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#56271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56271B
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56271B | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332E1A
Deuteranopia (green-blind)
#3F391A
Tritanopia (blue-blind)
#5F1E24
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #56271b; /* rgb */ color: rgb(86, 39, 27); /* oklch */ color: oklch(33.5% 0.073 35.4);
Tailwind
colors: {
custom: {
50: '#8a6257',
500: '#56271b',
950: '#000000',
},
}SCSS
$custom: #56271b; $custom-light: #8a6257; $custom-dark: #000000;
JSON
{
"hex": "#56271b",
"rgb": {
"r": 86,
"g": 39,
"b": 27
},
"hsl": {
"h": 12.203,
"s": 52.212,
"l": 22.157
},
"oklch": {
"l": 0.33518,
"c": 0.07308,
"h": 35.4
},
"luminance": 0.03509
}Semantic roles & 50–950 ramp
primary
#56271B
secondary
#417D8C
accent
#BEDC4C
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978