#9F2018#9F2018
#9F2018 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.164 H 29.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2018 |
|---|---|
| RGB | rgb(159, 32, 24) |
| HSL | hsl(4, 74%, 36%) |
| HSV | hsv(4, 85%, 62%) |
| CMYK | cmyk(0%, 79.9%, 84.9%, 37.6%) |
| CIE-LAB | lab(34.95, 50.49, 37.75) |
| CIE-LCH | lch(34.95, 63.04, 36.79°) |
| OKLab | oklab(45.87% 0.1435 0.0794) |
| OKLCH | oklch(45.87% 0.164 29) |
| XYZ | xyz(14.9813, 8.4723, 1.7105) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.94
Carmine
#9D0216
ΔE00 3.29
Brownish Red
#9E3623
ΔE00 3.76
Brick
#A03623
ΔE00 3.82
Blood Red
#980002
ΔE00 3.86
Deep Red
#9A0200
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2018 #18979F
analogous
#9F1853 #9F2018 #9F6318
triadic
#9F2018 #189F20 #20189F
tetradic
#9F2018 #539F18 #18979F #63189F
square
#9F2018 #539F18 #18979F #63189F
split-complementary
#9F2018 #189F63 #18539F
monochromatic
#350B08 #6A1510 #9F2018 #D42B20 #E4564D
Accessibility & contrast
On white
7.80
#9F2018 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F2018 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2018
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2018 | 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)
#494015
Deuteranopia (green-blind)
#685C10
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f2018; /* rgb */ color: rgb(159, 32, 24); /* oklch */ color: oklch(45.9% 0.164 29.0);
Tailwind
colors: {
custom: {
50: '#c56857',
500: '#9f2018',
950: '#000000',
},
}SCSS
$custom: #9f2018; $custom-light: #c56857; $custom-dark: #000000;
JSON
{
"hex": "#9f2018",
"rgb": {
"r": 159,
"g": 32,
"b": 24
},
"hsl": {
"h": 3.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45866,
"c": 0.16401,
"h": 29
},
"luminance": 0.0847
}Semantic roles & 50–950 ramp
primary
#9F2018
secondary
#4DBFC6
accent
#E5F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78