#9F1B3C#9F1B3C
#9F1B3C is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.166 H 13.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B3C |
|---|---|
| RGB | rgb(159, 27, 60) |
| HSL | hsl(345, 71%, 36%) |
| HSV | hsv(345, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 62.3%, 37.6%) |
| CIE-LAB | lab(34.97, 53.52, 15.81) |
| CIE-LCH | lch(34.97, 55.80, 16.46°) |
| OKLab | oklab(46.05% 0.161 0.0387) |
| OKLCH | oklch(46.05% 0.166 13.5) |
| XYZ | xyz(15.5073, 8.4834, 5.0950) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.23
Rouge
#AB1239
ΔE00 2.73
Raspberry (survey)
#B00149
ΔE00 4.49
Purplish Red
#B0054B
ΔE00 4.83
Red Wine
#8C0034
ΔE00 5.07
Rose Red
#BE013C
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B3C #1B9F7E
analogous
#9F1B7E #9F1B3C #9F3C1B
triadic
#9F1B3C #3C9F1B #1B3C9F
tetradic
#9F1B3C #7E9F1B #1B9F7E #3C1B9F
square
#9F1B3C #7E9F1B #1B9F7E #3C1B9F
split-complementary
#9F1B3C #1B9F3C #1B7E9F
monochromatic
#360915 #6B1228 #9F1B3C #D32450 #E25376
Accessibility & contrast
On white
7.79
#9F1B3C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1B3C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B3C
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B3C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B3C | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413C
Deuteranopia (green-blind)
#645C38
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1b3c; /* rgb */ color: rgb(159, 27, 60); /* oklch */ color: oklch(46.0% 0.166 13.5);
Tailwind
colors: {
custom: {
50: '#c36771',
500: '#9f1b3c',
950: '#000000',
},
}SCSS
$custom: #9f1b3c; $custom-light: #c36771; $custom-dark: #000000;
JSON
{
"hex": "#9f1b3c",
"rgb": {
"r": 159,
"g": 27,
"b": 60
},
"hsl": {
"h": 345,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.46049,
"c": 0.16559,
"h": 13.5
},
"luminance": 0.08481
}Semantic roles & 50–950 ramp
primary
#9F1B3C
secondary
#51C5A8
accent
#EEC13A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A