#5B2018#5B2018
#5B2018 is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.089 H 30.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5B2018 |
|---|---|
| RGB | rgb(91, 32, 24) |
| HSL | hsl(7, 58%, 23%) |
| HSV | hsv(7, 74%, 36%) |
| CMYK | cmyk(0%, 64.8%, 73.6%, 64.3%) |
| CIE-LAB | lab(21.30, 26.54, 19.28) |
| CIE-LCH | lch(21.30, 32.80, 35.99°) |
| OKLab | oklab(33.16% 0.0767 0.0446) |
| OKLCH | oklch(33.16% 0.089 30.2) |
| XYZ | xyz(4.9963, 3.3238, 1.2424) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rosewood
#65000B
ΔE00 5.98
Reddy Brown
#6E1005
ΔE00 6.43
Dried Blood
#4B0101
ΔE00 6.51
Mahogany
#4A0100
ΔE00 6.59
Claret
#680018
ΔE00 7.44
Deep Brown
#410200
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B2018 #18535B
analogous
#5B1832 #5B2018 #5B4118
triadic
#5B2018 #185B20 #20185B
tetradic
#5B2018 #325B18 #18535B #41185B
square
#5B2018 #325B18 #18535B #41185B
split-complementary
#5B2018 #185B41 #18325B
monochromatic
#180906 #2B0F0B #5B2018 #8B3125 #BC4232
Accessibility & contrast
On white
12.62
#5B2018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#5B2018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B2018
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B2018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B2018 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#302B17
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#64131E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5b2018; /* rgb */ color: rgb(91, 32, 24); /* oklch */ color: oklch(33.2% 0.089 30.2);
Tailwind
colors: {
custom: {
50: '#8f5e55',
500: '#5b2018',
950: '#000000',
},
}SCSS
$custom: #5b2018; $custom-light: #8f5e55; $custom-dark: #000000;
JSON
{
"hex": "#5b2018",
"rgb": {
"r": 91,
"g": 32,
"b": 24
},
"hsl": {
"h": 7.164,
"s": 58.261,
"l": 22.549
},
"oklch": {
"l": 0.33164,
"c": 0.08874,
"h": 30.2
},
"luminance": 0.03323
}Semantic roles & 50–950 ramp
primary
#5B2018
secondary
#3D8792
accent
#CFE146
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0403
muted
#7E7978