#5A131F#5A131F
#5A131F is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.102 H 16.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5A131F |
|---|---|
| RGB | rgb(90, 19, 31) |
| HSL | hsl(350, 65%, 21%) |
| HSV | hsv(350, 79%, 35%) |
| CMYK | cmyk(0%, 78.9%, 65.6%, 64.7%) |
| CIE-LAB | lab(18.97, 32.77, 11.53) |
| CIE-LCH | lch(18.97, 34.74, 19.39°) |
| OKLab | oklab(31.42% 0.0981 0.0281) |
| OKLCH | oklch(31.42% 0.102 16) |
| XYZ | xyz(4.6971, 2.7390, 1.5774) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Maroon (survey)
#650021
ΔE00 3.64
Burgundy (survey)
#610023
ΔE00 4.11
Claret
#680018
ΔE00 4.52
Dried Blood
#4B0101
ΔE00 6.54
Mahogany
#4A0100
ΔE00 6.71
Dark Maroon
#3C0008
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A131F #135A4E
analogous
#5A1343 #5A131F #5A2B13
triadic
#5A131F #1F5A13 #131F5A
tetradic
#5A131F #435A13 #135A4E #2B135A
square
#5A131F #435A13 #135A4E #2B135A
split-complementary
#5A131F #135A2B #13435A
monochromatic
#190509 #27080E #5A131F #8D1E30 #BF2842
Accessibility & contrast
On white
13.57
#5A131F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#5A131F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A131F
13.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A131F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A131F | 1.00 | 13.57 | 1.55 | 13.57 |
| #FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26251F
Deuteranopia (green-blind)
#38331D
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a131f; /* rgb */ color: rgb(90, 19, 31); /* oklch */ color: oklch(31.4% 0.102 16.0);
Tailwind
colors: {
custom: {
50: '#8e575a',
500: '#5a131f',
950: '#000000',
},
}SCSS
$custom: #5a131f; $custom-light: #8e575a; $custom-dark: #000000;
JSON
{
"hex": "#5a131f",
"rgb": {
"r": 90,
"g": 19,
"b": 31
},
"hsl": {
"h": 349.859,
"s": 65.138,
"l": 21.373
},
"oklch": {
"l": 0.31425,
"c": 0.10204,
"h": 16
},
"luminance": 0.02738
}Semantic roles & 50–950 ramp
primary
#5A131F
secondary
#379283
accent
#E8CC40
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0303
muted
#7E7878