#9F1818#9F1818
#9F1818 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.169 H 27.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1818 |
|---|---|
| RGB | rgb(159, 24, 24) |
| HSL | hsl(0, 74%, 36%) |
| HSV | hsv(0, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 84.9%, 37.6%) |
| CIE-LAB | lab(34.17, 52.67, 37.04) |
| CIE-LCH | lch(34.17, 64.39, 35.12°) |
| OKLab | oklab(45.29% 0.1503 0.0778) |
| OKLCH | oklch(45.29% 0.169 27.4) |
| XYZ | xyz(14.7915, 8.0926, 1.6472) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 2.02
Darkish Red
#A90308
ΔE00 3.28
Blood Red
#980002
ΔE00 3.85
Brown
#A52A2A
ΔE00 3.91
Deep Red
#9A0200
ΔE00 4.10
Firebrick
#B22222
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1818 #189F9F
analogous
#9F185B #9F1818 #9F5B18
triadic
#9F1818 #189F18 #18189F
tetradic
#9F1818 #5B9F18 #189F9F #5B189F
square
#9F1818 #5B9F18 #189F9F #5B189F
split-complementary
#9F1818 #189F5B #185B9F
monochromatic
#350808 #6A1010 #9F1818 #D42020 #E44D4D
Accessibility & contrast
On white
8.02
#9F1818 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#9F1818 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1818
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1818 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E16
Deuteranopia (green-blind)
#665B10
Tritanopia (blue-blind)
#B0001B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #9f1818; /* rgb */ color: rgb(159, 24, 24); /* oklch */ color: oklch(45.3% 0.169 27.4);
Tailwind
colors: {
custom: {
50: '#c56556',
500: '#9f1818',
950: '#000000',
},
}SCSS
$custom: #9f1818; $custom-light: #c56556; $custom-dark: #000000;
JSON
{
"hex": "#9f1818",
"rgb": {
"r": 159,
"g": 24,
"b": 24
},
"hsl": {
"h": 0,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45292,
"c": 0.16929,
"h": 27.4
},
"luminance": 0.0809
}Semantic roles & 50–950 ramp
primary
#9F1818
secondary
#4DC6C6
accent
#F0F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78