#5D271C#5D271C
#5D271C is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.7% C 0.082 H 33.1°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5D271C |
|---|---|
| RGB | rgb(93, 39, 28) |
| HSL | hsl(10, 54%, 24%) |
| HSV | hsv(10, 70%, 36%) |
| CMYK | cmyk(0%, 58.1%, 69.9%, 63.5%) |
| CIE-LAB | lab(23.21, 23.79, 19.06) |
| CIE-LCH | lch(23.21, 30.48, 38.71°) |
| OKLab | oklab(34.71% 0.0687 0.0447) |
| OKLCH | oklch(34.71% 0.082 33.1) |
| XYZ | xyz(5.4498, 3.8627, 1.5570) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 7.15
Rosewood
#65000B
ΔE00 7.71
Chocolate Brown
#411900
ΔE00 7.81
Dried Blood
#4B0101
ΔE00 8.43
Mahogany
#4A0100
ΔE00 8.49
Blood
#770001
ΔE00 9.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D271C #1C525D
analogous
#5D1C31 #5D271C #5D471C
triadic
#5D271C #1C5D27 #271C5D
tetradic
#5D271C #315D1C #1C525D #471C5D
square
#5D271C #315D1C #1C525D #471C5D
split-complementary
#5D271C #1C5D47 #1C315D
monochromatic
#180A07 #2E130E #5D271C #8C3B2A #BB4E38
Accessibility & contrast
On white
11.85
#5D271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#5D271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D271C
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D271C | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#423C1B
Tritanopia (blue-blind)
#661D25
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #5d271c; /* rgb */ color: rgb(93, 39, 28); /* oklch */ color: oklch(34.7% 0.082 33.1);
Tailwind
colors: {
custom: {
50: '#8f6358',
500: '#5d271c',
950: '#000000',
},
}SCSS
$custom: #5d271c; $custom-light: #8f6358; $custom-dark: #000000;
JSON
{
"hex": "#5d271c",
"rgb": {
"r": 93,
"g": 39,
"b": 28
},
"hsl": {
"h": 10.154,
"s": 53.719,
"l": 23.725
},
"oklch": {
"l": 0.34705,
"c": 0.08201,
"h": 33.1
},
"luminance": 0.03862
}Semantic roles & 50–950 ramp
primary
#5D271C
secondary
#428592
accent
#C4DD4B
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978