#9F1B37#9F1B37
#9F1B37 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.9% C 0.165 H 15.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B37 |
|---|---|
| RGB | rgb(159, 27, 55) |
| HSL | hsl(347, 71%, 36%) |
| HSV | hsv(347, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 65.4%, 37.6%) |
| CIE-LAB | lab(34.87, 53.21, 18.91) |
| CIE-LCH | lch(34.87, 56.47, 19.56°) |
| OKLab | oklab(45.94% 0.159 0.0454) |
| OKLCH | oklch(45.94% 0.165 15.9) |
| XYZ | xyz(15.3813, 8.4330, 4.4315) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.17
Cranberry
#9E003A
ΔE00 3.37
Rose Red
#BE013C
ΔE00 5.62
Red Wine
#8C0034
ΔE00 5.79
Raspberry (survey)
#B00149
ΔE00 5.85
Purplish Red
#B0054B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B37 #1B9F83
analogous
#9F1B79 #9F1B37 #9F411B
triadic
#9F1B37 #379F1B #1B379F
tetradic
#9F1B37 #799F1B #1B9F83 #411B9F
square
#9F1B37 #799F1B #1B9F83 #411B9F
split-complementary
#9F1B37 #1B9F41 #1B799F
monochromatic
#360913 #6B1225 #9F1B37 #D32449 #E25371
Accessibility & contrast
On white
7.82
#9F1B37 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1B37 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B37
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B37 | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434137
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1b37; /* rgb */ color: rgb(159, 27, 55); /* oklch */ color: oklch(45.9% 0.165 15.9);
Tailwind
colors: {
custom: {
50: '#c3676d',
500: '#9f1b37',
950: '#000000',
},
}SCSS
$custom: #9f1b37; $custom-light: #c3676d; $custom-dark: #000000;
JSON
{
"hex": "#9f1b37",
"rgb": {
"r": 159,
"g": 27,
"b": 55
},
"hsl": {
"h": 347.273,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.45942,
"c": 0.16534,
"h": 15.9
},
"luminance": 0.08431
}Semantic roles & 50–950 ramp
primary
#9F1B37
secondary
#51C5AC
accent
#EEC83A
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A