#9F1F20#9F1F20
#9F1F20 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.164 H 26.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F20 |
|---|---|
| RGB | rgb(159, 31, 32) |
| HSL | hsl(360, 67%, 37%) |
| HSV | hsv(360, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 79.9%, 37.6%) |
| CIE-LAB | lab(34.92, 51.03, 33.27) |
| CIE-LCH | lch(34.92, 60.91, 33.10°) |
| OKLab | oklab(45.87% 0.1468 0.0725) |
| OKLCH | oklch(45.87% 0.164 26.3) |
| XYZ | xyz(15.0506, 8.4576, 2.2062) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.47
Carmine
#9D0216
ΔE00 2.50
Firebrick
#B22222
ΔE00 3.96
Darkish Red
#A90308
ΔE00 4.76
Brownish Red
#9E3623
ΔE00 4.92
Brick
#A03623
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F20 #1F9F9E
analogous
#9F1F60 #9F1F20 #9F5E1F
triadic
#9F1F20 #209F1F #1F209F
tetradic
#9F1F20 #609F1F #1F9F9E #5E1F9F
square
#9F1F20 #609F1F #1F9F9E #5E1F9F
split-complementary
#9F1F20 #1F9F5E #1F609F
monochromatic
#390B0B #6C1516 #9F1F20 #D2292A #DF5A5B
Accessibility & contrast
On white
7.80
#9F1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F20
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F20 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48401E
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f20; /* rgb */ color: rgb(159, 31, 32); /* oklch */ color: oklch(45.9% 0.164 26.3);
Tailwind
colors: {
custom: {
50: '#c4685c',
500: '#9f1f20',
950: '#000000',
},
}SCSS
$custom: #9f1f20; $custom-light: #c4685c; $custom-dark: #000000;
JSON
{
"hex": "#9f1f20",
"rgb": {
"r": 159,
"g": 31,
"b": 32
},
"hsl": {
"h": 359.531,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.45868,
"c": 0.16375,
"h": 26.3
},
"luminance": 0.08455
}Semantic roles & 50–950 ramp
primary
#9F1F20
secondary
#57C3C2
accent
#EAE93E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79