#9F1B3A#9F1B3A
#9F1B3A is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.165 H 14.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B3A |
|---|---|
| RGB | rgb(159, 27, 58) |
| HSL | hsl(346, 71%, 36%) |
| HSV | hsv(346, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 63.5%, 37.6%) |
| CIE-LAB | lab(34.93, 53.39, 17.05) |
| CIE-LCH | lch(34.93, 56.05, 17.71°) |
| OKLab | oklab(46.01% 0.1602 0.0414) |
| OKLCH | oklch(46.01% 0.165 14.5) |
| XYZ | xyz(15.4554, 8.4627, 4.8218) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.38
Cranberry
#9E003A
ΔE00 2.62
Raspberry (survey)
#B00149
ΔE00 5.01
Red Wine
#8C0034
ΔE00 5.31
Purplish Red
#B0054B
ΔE00 5.38
Rose Red
#BE013C
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B3A #1B9F80
analogous
#9F1B7C #9F1B3A #9F3E1B
triadic
#9F1B3A #3A9F1B #1B3A9F
tetradic
#9F1B3A #7C9F1B #1B9F80 #3E1B9F
square
#9F1B3A #7C9F1B #1B9F80 #3E1B9F
split-complementary
#9F1B3A #1B9F3E #1B7C9F
monochromatic
#360914 #6B1227 #9F1B3A #D3244D #E25374
Accessibility & contrast
On white
7.80
#9F1B3A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F1B3A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B3A
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B3A | 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)
#43413A
Deuteranopia (green-blind)
#645C36
Tritanopia (blue-blind)
#AF0029
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1b3a; /* rgb */ color: rgb(159, 27, 58); /* oklch */ color: oklch(46.0% 0.165 14.5);
Tailwind
colors: {
custom: {
50: '#c3676f',
500: '#9f1b3a',
950: '#000000',
},
}SCSS
$custom: #9f1b3a; $custom-light: #c3676f; $custom-dark: #000000;
JSON
{
"hex": "#9f1b3a",
"rgb": {
"r": 159,
"g": 27,
"b": 58
},
"hsl": {
"h": 345.909,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.46005,
"c": 0.16546,
"h": 14.5
},
"luminance": 0.0846
}Semantic roles & 50–950 ramp
primary
#9F1B3A
secondary
#51C5A9
accent
#EEC43A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A