#5D271F#5D271F
#5D271F is a dark, moderate red. Relative luminance 0.039; OKLCH L 34.8% C 0.081 H 30.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5D271F |
|---|---|
| RGB | rgb(93, 39, 31) |
| HSL | hsl(8, 50%, 24%) |
| HSV | hsv(8, 67%, 36%) |
| CMYK | cmyk(0%, 58.1%, 66.7%, 63.5%) |
| CIE-LAB | lab(23.26, 24.01, 17.17) |
| CIE-LCH | lch(23.26, 29.52, 35.57°) |
| OKLab | oklab(34.76% 0.07 0.0409) |
| OKLCH | oklch(34.76% 0.081 30.3) |
| XYZ | xyz(5.4875, 3.8778, 1.7556) |
| Luminance | 0.0388 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 7.55
Reddy Brown
#6E1005
ΔE00 7.71
Wine
#722F37
ΔE00 8.13
Dried Blood
#4B0101
ΔE00 8.17
Mahogany
#4A0100
ΔE00 8.25
Claret
#680018
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D271F #1F555D
analogous
#5D1F36 #5D271F #5D461F
triadic
#5D271F #1F5D27 #271F5D
tetradic
#5D271F #365D1F #1F555D #461F5D
square
#5D271F #365D1F #1F555D #461F5D
split-complementary
#5D271F #1F5D46 #1F365D
monochromatic
#170A08 #2F1410 #5D271F #8B3A2E #B94D3E
Accessibility & contrast
On white
11.83
#5D271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#5D271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D271F
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D271F | 1.00 | 11.83 | 1.78 | 11.83 |
| #FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#423C1E
Tritanopia (blue-blind)
#661D25
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #5d271f; /* rgb */ color: rgb(93, 39, 31); /* oklch */ color: oklch(34.8% 0.081 30.3);
Tailwind
colors: {
custom: {
50: '#8f635a',
500: '#5d271f',
950: '#000000',
},
}SCSS
$custom: #5d271f; $custom-light: #8f635a; $custom-dark: #000000;
JSON
{
"hex": "#5d271f",
"rgb": {
"r": 93,
"g": 39,
"b": 31
},
"hsl": {
"h": 7.742,
"s": 50,
"l": 24.314
},
"oklch": {
"l": 0.34761,
"c": 0.08111,
"h": 30.3
},
"luminance": 0.03877
}Semantic roles & 50–950 ramp
primary
#5D271F
secondary
#468892
accent
#C8DA4E
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0504
muted
#7E7979