#5C271F#5C271F
#5C271F is a dark, moderate red. Relative luminance 0.038; OKLCH L 34.6% C 0.080 H 30.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5C271F |
|---|---|
| RGB | rgb(92, 39, 31) |
| HSL | hsl(8, 50%, 24%) |
| HSV | hsv(8, 66%, 36%) |
| CMYK | cmyk(0%, 57.6%, 66.3%, 63.9%) |
| CIE-LAB | lab(23.09, 23.58, 16.91) |
| CIE-LCH | lch(23.09, 29.02, 35.65°) |
| OKLab | oklab(34.59% 0.0688 0.0404) |
| OKLCH | oklch(34.59% 0.08 30.4) |
| XYZ | xyz(5.3869, 3.8259, 1.7509) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 7.70
Reddy Brown
#6E1005
ΔE00 7.90
Dried Blood
#4B0101
ΔE00 8.16
Wine
#722F37
ΔE00 8.22
Mahogany
#4A0100
ΔE00 8.24
Chocolate Brown
#411900
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C271F #1F545C
analogous
#5C1F36 #5C271F #5C461F
triadic
#5C271F #1F5C27 #271F5C
tetradic
#5C271F #365C1F #1F545C #461F5C
square
#5C271F #365C1F #1F545C #461F5C
split-complementary
#5C271F #1F5C46 #1F365C
monochromatic
#170A08 #2E1410 #5C271F #8A3A2E #B84E3E
Accessibility & contrast
On white
11.90
#5C271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#5C271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C271F
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C271F | 1.00 | 11.90 | 1.77 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#651D25
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #5c271f; /* rgb */ color: rgb(92, 39, 31); /* oklch */ color: oklch(34.6% 0.080 30.4);
Tailwind
colors: {
custom: {
50: '#8e635a',
500: '#5c271f',
950: '#000000',
},
}SCSS
$custom: #5c271f; $custom-light: #8e635a; $custom-dark: #000000;
JSON
{
"hex": "#5c271f",
"rgb": {
"r": 92,
"g": 39,
"b": 31
},
"hsl": {
"h": 7.869,
"s": 49.593,
"l": 24.118
},
"oklch": {
"l": 0.34592,
"c": 0.07978,
"h": 30.4
},
"luminance": 0.03825
}Semantic roles & 50–950 ramp
primary
#5C271F
secondary
#468791
accent
#C7D94F
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0504
muted
#7E7979