#9F1837#9F1837
#9F1837 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.167 H 15.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1837 |
|---|---|
| RGB | rgb(159, 24, 55) |
| HSL | hsl(346, 74%, 36%) |
| HSV | hsv(346, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 65.4%, 37.6%) |
| CIE-LAB | lab(34.60, 53.96, 18.57) |
| CIE-LCH | lch(34.60, 57.07, 18.99°) |
| OKLab | oklab(45.75% 0.1614 0.0446) |
| OKLCH | oklch(45.75% 0.167 15.4) |
| XYZ | xyz(15.3160, 8.3024, 4.4098) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.22
Cranberry
#9E003A
ΔE00 2.97
Red Wine
#8C0034
ΔE00 5.47
Raspberry (survey)
#B00149
ΔE00 5.61
Rose Red
#BE013C
ΔE00 5.71
Purplish Red
#B0054B
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1837 #189F80
analogous
#9F187A #9F1837 #9F3C18
triadic
#9F1837 #379F18 #18379F
tetradic
#9F1837 #7A9F18 #189F80 #3C189F
square
#9F1837 #7A9F18 #189F80 #3C189F
split-complementary
#9F1837 #189F3C #187A9F
monochromatic
#350812 #6A1025 #9F1837 #D42049 #E44D70
Accessibility & contrast
On white
7.89
#9F1837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F1837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1837
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1837 | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424037
Deuteranopia (green-blind)
#645B33
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1837; /* rgb */ color: rgb(159, 24, 55); /* oklch */ color: oklch(45.7% 0.167 15.4);
Tailwind
colors: {
custom: {
50: '#c3666d',
500: '#9f1837',
950: '#000000',
},
}SCSS
$custom: #9f1837; $custom-light: #c3666d; $custom-dark: #000000;
JSON
{
"hex": "#9f1837",
"rgb": {
"r": 159,
"g": 24,
"b": 55
},
"hsl": {
"h": 346.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45747,
"c": 0.16747,
"h": 15.4
},
"luminance": 0.083
}Semantic roles & 50–950 ramp
primary
#9F1837
secondary
#4DC6AA
accent
#F0C637
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140707
muted
#837A7A