#5A1B0F#5A1B0F
#5A1B0F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.095 H 32.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5A1B0F |
|---|---|
| RGB | rgb(90, 27, 15) |
| HSL | hsl(10, 71%, 21%) |
| HSV | hsv(10, 83%, 35%) |
| CMYK | cmyk(0%, 70%, 83.3%, 64.7%) |
| CIE-LAB | lab(20.01, 28.22, 23.32) |
| CIE-LCH | lch(20.01, 36.61, 39.56°) |
| OKLab | oklab(32.12% 0.0801 0.0517) |
| OKLCH | oklch(32.12% 0.095 32.9) |
| XYZ | xyz(4.6951, 2.9927, 0.7823) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddy Brown
#6E1005
ΔE00 5.09
Rosewood
#65000B
ΔE00 5.65
Dried Blood
#4B0101
ΔE00 6.31
Mahogany
#4A0100
ΔE00 6.35
Chocolate Brown
#411900
ΔE00 7.07
Blood
#770001
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A1B0F #0F4E5A
analogous
#5A0F28 #5A1B0F #5A400F
triadic
#5A1B0F #0F5A1B #1B0F5A
tetradic
#5A1B0F #285A0F #0F4E5A #400F5A
square
#5A1B0F #285A0F #0F4E5A #400F5A
split-complementary
#5A1B0F #0F5A40 #0F285A
monochromatic
#1A0804 #260B06 #5A1B0F #8E2B18 #C33A20
Accessibility & contrast
On white
13.14
#5A1B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5A1B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A1B0F
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A1B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A1B0F | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#640A19
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5a1b0f; /* rgb */ color: rgb(90, 27, 15); /* oklch */ color: oklch(32.1% 0.095 32.9);
Tailwind
colors: {
custom: {
50: '#8f5b4e',
500: '#5a1b0f',
950: '#000000',
},
}SCSS
$custom: #5a1b0f; $custom-light: #8f5b4e; $custom-dark: #000000;
JSON
{
"hex": "#5a1b0f",
"rgb": {
"r": 90,
"g": 27,
"b": 15
},
"hsl": {
"h": 9.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.32122,
"c": 0.09529,
"h": 32.9
},
"luminance": 0.02992
}Semantic roles & 50–950 ramp
primary
#5A1B0F
secondary
#318494
accent
#D1EE3A
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977