#9F1F18#9F1F18
#9F1F18 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 28.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F18 |
|---|---|
| RGB | rgb(159, 31, 24) |
| HSL | hsl(3, 74%, 36%) |
| HSV | hsv(3, 85%, 62%) |
| CMYK | cmyk(0%, 80.5%, 84.9%, 37.6%) |
| CIE-LAB | lab(34.84, 50.79, 37.65) |
| CIE-LCH | lch(34.84, 63.22, 36.55°) |
| OKLab | oklab(45.79% 0.1444 0.0792) |
| OKLCH | oklch(45.79% 0.165 28.7) |
| XYZ | xyz(14.9548, 8.4193, 1.7016) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.96
Carmine
#9D0216
ΔE00 3.11
Blood Red
#980002
ΔE00 3.83
Deep Red
#9A0200
ΔE00 3.90
Brownish Red
#9E3623
ΔE00 3.91
Brick
#A03623
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F18 #18989F
analogous
#9F1854 #9F1F18 #9F6218
triadic
#9F1F18 #189F1F #1F189F
tetradic
#9F1F18 #549F18 #18989F #62189F
square
#9F1F18 #549F18 #18989F #62189F
split-complementary
#9F1F18 #189F62 #18549F
monochromatic
#350A08 #6A1510 #9F1F18 #D42920 #E4554D
Accessibility & contrast
On white
7.83
#9F1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9F1F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F18
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F18 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484015
Deuteranopia (green-blind)
#685C10
Tritanopia (blue-blind)
#B0001F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f18; /* rgb */ color: rgb(159, 31, 24); /* oklch */ color: oklch(45.8% 0.165 28.7);
Tailwind
colors: {
custom: {
50: '#c56757',
500: '#9f1f18',
950: '#000000',
},
}SCSS
$custom: #9f1f18; $custom-light: #c56757; $custom-dark: #000000;
JSON
{
"hex": "#9f1f18",
"rgb": {
"r": 159,
"g": 31,
"b": 24
},
"hsl": {
"h": 3.111,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45787,
"c": 0.16472,
"h": 28.7
},
"luminance": 0.08417
}Semantic roles & 50–950 ramp
primary
#9F1F18
secondary
#4DC0C6
accent
#E7F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78