#5A101B#5A101B
#5A101B is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.0% C 0.105 H 18.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5A101B |
|---|---|
| RGB | rgb(90, 16, 27) |
| HSL | hsl(351, 70%, 21%) |
| HSV | hsv(351, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 70%, 64.7%) |
| CIE-LAB | lab(18.47, 33.63, 13.71) |
| CIE-LCH | lch(18.47, 36.32, 22.18°) |
| OKLab | oklab(31.03% 0.1 0.0327) |
| OKLCH | oklch(31.03% 0.105 18.1) |
| XYZ | xyz(4.6001, 2.6241, 1.3010) |
| Luminance | 0.0262 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Claret
#680018
ΔE00 3.66
Maroon (survey)
#650021
ΔE00 4.04
Burgundy (survey)
#610023
ΔE00 4.86
Dried Blood
#4B0101
ΔE00 5.41
Mahogany
#4A0100
ΔE00 5.60
Rosewood
#65000B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A101B #105A4F
analogous
#5A1040 #5A101B #5A2A10
triadic
#5A101B #1B5A10 #101B5A
tetradic
#5A101B #405A10 #105A4F #2A105A
square
#5A101B #405A10 #105A4F #2A105A
split-complementary
#5A101B #105A2A #10405A
monochromatic
#1A0508 #26070B #5A101B #8E192B #C2223A
Accessibility & contrast
On white
13.77
#5A101B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#5A101B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A101B
13.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A101B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A101B | 1.00 | 13.77 | 1.52 | 13.77 |
| #FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231B
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#630015
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a101b; /* rgb */ color: rgb(90, 16, 27); /* oklch */ color: oklch(31.0% 0.105 18.1);
Tailwind
colors: {
custom: {
50: '#8e5657',
500: '#5a101b',
950: '#000000',
},
}SCSS
$custom: #5a101b; $custom-light: #8e5657; $custom-dark: #000000;
JSON
{
"hex": "#5a101b",
"rgb": {
"r": 90,
"g": 16,
"b": 27
},
"hsl": {
"h": 351.081,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31029,
"c": 0.10519,
"h": 18.1
},
"luminance": 0.02623
}Semantic roles & 50–950 ramp
primary
#5A101B
secondary
#339385
accent
#EDD23B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878