#9F2017#9F2017
#9F2017 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.164 H 29.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2017 |
|---|---|
| RGB | rgb(159, 32, 23) |
| HSL | hsl(4, 75%, 36%) |
| HSV | hsv(4, 86%, 62%) |
| CMYK | cmyk(0%, 79.9%, 85.5%, 37.6%) |
| CIE-LAB | lab(34.94, 50.46, 38.27) |
| CIE-LCH | lch(34.94, 63.33, 37.18°) |
| OKLab | oklab(45.86% 0.1432 0.0802) |
| OKLCH | oklch(45.86% 0.164 29.2) |
| XYZ | xyz(14.9711, 8.4683, 1.6567) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Darkish Red
#A90308
ΔE00 2.80
Carmine
#9D0216
ΔE00 3.46
Brownish Red
#9E3623
ΔE00 3.72
Blood Red
#980002
ΔE00 3.73
Deep Red
#9A0200
ΔE00 3.73
Brick
#A03623
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2017 #17969F
analogous
#9F1752 #9F2017 #9F6417
triadic
#9F2017 #179F20 #20179F
tetradic
#9F2017 #529F17 #17969F #64179F
square
#9F2017 #529F17 #17969F #64179F
split-complementary
#9F2017 #179F64 #17529F
monochromatic
#340A08 #6A150F #9F2017 #D42B1F #E5564B
Accessibility & contrast
On white
7.80
#9F2017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F2017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2017
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2017 | 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)
#494014
Deuteranopia (green-blind)
#685C0F
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f2017; /* rgb */ color: rgb(159, 32, 23); /* oklch */ color: oklch(45.9% 0.164 29.2);
Tailwind
colors: {
custom: {
50: '#c56856',
500: '#9f2017',
950: '#000000',
},
}SCSS
$custom: #9f2017; $custom-light: #c56856; $custom-dark: #000000;
JSON
{
"hex": "#9f2017",
"rgb": {
"r": 159,
"g": 32,
"b": 23
},
"hsl": {
"h": 3.971,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.45857,
"c": 0.16413,
"h": 29.2
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#9F2017
secondary
#4BBEC7
accent
#E5F136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78