#56271F#56271F
#56271F is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.6% C 0.072 H 31.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).
Color values
| HEX | #56271F |
|---|---|
| RGB | rgb(86, 39, 31) |
| HSL | hsl(9, 47%, 23%) |
| HSV | hsv(9, 64%, 34%) |
| CMYK | cmyk(0%, 54.7%, 64%, 66.3%) |
| CIE-LAB | lab(22.05, 20.95, 15.38) |
| CIE-LCH | lch(22.05, 25.99, 36.28°) |
| OKLab | oklab(33.6% 0.0614 0.0371) |
| OKLCH | oklch(33.6% 0.072 31.1) |
| XYZ | xyz(4.8110, 3.5289, 1.7239) |
| Luminance | 0.0353 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Chocolate Brown
#411900
ΔE00 7.60
Dried Blood
#4B0101
ΔE00 8.34
Mahogany
#4A0100
ΔE00 8.38
Rosewood
#65000B
ΔE00 8.76
Deep Brown
#410200
ΔE00 8.90
Wine
#722F37
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#56271F #1F4E56
analogous
#561F32 #56271F #56421F
triadic
#56271F #1F5627 #271F56
tetradic
#56271F #32561F #1F4E56 #421F56
square
#56271F #32561F #1F4E56 #421F56
split-complementary
#56271F #1F5642 #1F3256
monochromatic
#160A08 #29130F #56271F #833B2F #B0503F
Accessibility & contrast
On white
12.31
#56271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#56271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #56271F
12.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##56271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##56271F | 1.00 | 12.31 | 1.71 | 12.31 |
| #FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3E391E
Tritanopia (blue-blind)
#5E1F25
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #56271f; /* rgb */ color: rgb(86, 39, 31); /* oklch */ color: oklch(33.6% 0.072 31.1);
Tailwind
colors: {
custom: {
50: '#89625a',
500: '#56271f',
950: '#000000',
},
}SCSS
$custom: #56271f; $custom-light: #89625a; $custom-dark: #000000;
JSON
{
"hex": "#56271f",
"rgb": {
"r": 86,
"g": 39,
"b": 31
},
"hsl": {
"h": 8.727,
"s": 47.009,
"l": 22.941
},
"oklch": {
"l": 0.33596,
"c": 0.07169,
"h": 31.1
},
"luminance": 0.03528
}Semantic roles & 50–950 ramp
primary
#56271F
secondary
#46818B
accent
#C3D751
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979