#9F2118#9F2118
#9F2118 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.163 H 29.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2118 |
|---|---|
| RGB | rgb(159, 33, 24) |
| HSL | hsl(4, 74%, 36%) |
| HSV | hsv(4, 85%, 62%) |
| CMYK | cmyk(0%, 79.2%, 84.9%, 37.6%) |
| CIE-LAB | lab(35.06, 50.18, 37.85) |
| CIE-LCH | lch(35.06, 62.85, 37.03°) |
| OKLab | oklab(45.95% 0.1425 0.0797) |
| OKLCH | oklch(45.95% 0.163 29.2) |
| XYZ | xyz(15.0087, 8.5270, 1.7196) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.94
Carmine
#9D0216
ΔE00 3.47
Brownish Red
#9E3623
ΔE00 3.61
Brick
#A03623
ΔE00 3.66
Blood Red
#980002
ΔE00 3.90
Deep Red
#9A0200
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2118 #18969F
analogous
#9F1852 #9F2118 #9F6418
triadic
#9F2118 #189F21 #21189F
tetradic
#9F2118 #529F18 #18969F #64189F
square
#9F2118 #529F18 #18969F #64189F
split-complementary
#9F2118 #189F64 #18529F
monochromatic
#350B08 #6A1610 #9F2118 #D42C20 #E4574D
Accessibility & contrast
On white
7.76
#9F2118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9F2118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2118
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2118 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494115
Deuteranopia (green-blind)
#685C11
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f2118; /* rgb */ color: rgb(159, 33, 24); /* oklch */ color: oklch(45.9% 0.163 29.2);
Tailwind
colors: {
custom: {
50: '#c56857',
500: '#9f2118',
950: '#000000',
},
}SCSS
$custom: #9f2118; $custom-light: #c56857; $custom-dark: #000000;
JSON
{
"hex": "#9f2118",
"rgb": {
"r": 159,
"g": 33,
"b": 24
},
"hsl": {
"h": 4,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45947,
"c": 0.16327,
"h": 29.2
},
"luminance": 0.08525
}Semantic roles & 50–950 ramp
primary
#9F2118
secondary
#4DBEC6
accent
#E4F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78