#9F1B3F#9F1B3F
#9F1B3F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 12.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B3F |
|---|---|
| RGB | rgb(159, 27, 63) |
| HSL | hsl(344, 71%, 36%) |
| HSV | hsv(344, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 60.4%, 37.6%) |
| CIE-LAB | lab(35.04, 53.71, 13.95) |
| CIE-LCH | lch(35.04, 55.49, 14.56°) |
| OKLab | oklab(46.12% 0.1622 0.0345) |
| OKLCH | oklch(46.12% 0.166 12) |
| XYZ | xyz(15.5888, 8.5160, 5.5246) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.97
Rouge
#AB1239
ΔE00 3.43
Raspberry (survey)
#B00149
ΔE00 3.80
Purplish Red
#B0054B
ΔE00 4.10
Red Wine
#8C0034
ΔE00 4.87
Purple Red
#990147
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B3F #1B9F7B
analogous
#9F1B81 #9F1B3F #9F391B
triadic
#9F1B3F #3F9F1B #1B3F9F
tetradic
#9F1B3F #819F1B #1B9F7B #391B9F
square
#9F1B3F #819F1B #1B9F7B #391B9F
split-complementary
#9F1B3F #1B9F39 #1B819F
monochromatic
#360916 #6B122A #9F1B3F #D32454 #E2537A
Accessibility & contrast
On white
7.77
#9F1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1B3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B3F
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B3F | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1b3f; /* rgb */ color: rgb(159, 27, 63); /* oklch */ color: oklch(46.1% 0.166 12.0);
Tailwind
colors: {
custom: {
50: '#c26773',
500: '#9f1b3f',
950: '#000000',
},
}SCSS
$custom: #9f1b3f; $custom-light: #c26773; $custom-dark: #000000;
JSON
{
"hex": "#9f1b3f",
"rgb": {
"r": 159,
"g": 27,
"b": 63
},
"hsl": {
"h": 343.636,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.46118,
"c": 0.16585,
"h": 12
},
"luminance": 0.08514
}Semantic roles & 50–950 ramp
primary
#9F1B3F
secondary
#51C5A5
accent
#EEBD3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B