#5A101F#5A101F
#5A101F is a dark, moderate red. Relative luminance 0.026; OKLCH L 31.1% C 0.105 H 14.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5A101F |
|---|---|
| RGB | rgb(90, 16, 31) |
| HSL | hsl(348, 70%, 21%) |
| HSV | hsv(348, 82%, 35%) |
| CMYK | cmyk(0%, 82.2%, 65.6%, 64.7%) |
| CIE-LAB | lab(18.56, 33.91, 10.99) |
| CIE-LCH | lch(18.56, 35.65, 17.96°) |
| OKLab | oklab(31.12% 0.1018 0.0269) |
| OKLCH | oklch(31.12% 0.105 14.8) |
| XYZ | xyz(4.6495, 2.6439, 1.5615) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.10
Burgundy (survey)
#610023
ΔE00 3.43
Claret
#680018
ΔE00 4.60
Dark Maroon
#3C0008
ΔE00 6.68
Dried Blood
#4B0101
ΔE00 6.81
Bordeaux
#7B002C
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A101F #105A4B
analogous
#5A1044 #5A101F #5A2610
triadic
#5A101F #1F5A10 #101F5A
tetradic
#5A101F #445A10 #105A4B #26105A
square
#5A101F #445A10 #105A4B #26105A
split-complementary
#5A101F #105A26 #10445A
monochromatic
#1A0509 #26070D #5A101F #8E1931 #C22243
Accessibility & contrast
On white
13.74
#5A101F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A101F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A101F
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A101F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A101F | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25231F
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#630016
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a101f; /* rgb */ color: rgb(90, 16, 31); /* oklch */ color: oklch(31.1% 0.105 14.8);
Tailwind
colors: {
custom: {
50: '#8e565a',
500: '#5a101f',
950: '#000000',
},
}SCSS
$custom: #5a101f; $custom-light: #8e565a; $custom-dark: #000000;
JSON
{
"hex": "#5a101f",
"rgb": {
"r": 90,
"g": 16,
"b": 31
},
"hsl": {
"h": 347.838,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.31121,
"c": 0.10526,
"h": 14.8
},
"luminance": 0.02643
}Semantic roles & 50–950 ramp
primary
#5A101F
secondary
#339380
accent
#EDC93B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878