#9F1B4A#9F1B4A
#9F1B4A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.168 H 6.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B4A |
|---|---|
| RGB | rgb(159, 27, 74) |
| HSL | hsl(339, 71%, 36%) |
| HSV | hsv(339, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 53.5%, 37.6%) |
| CIE-LAB | lab(35.30, 54.52, 7.18) |
| CIE-LCH | lch(35.30, 54.99, 7.50°) |
| OKLab | oklab(46.4% 0.1665 0.0186) |
| OKLCH | oklch(46.4% 0.168 6.4) |
| XYZ | xyz(15.9275, 8.6515, 7.3085) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.61
Purple Red
#990147
ΔE00 2.81
Purplish Red
#B0054B
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.27
Violet Red
#A50055
ΔE00 3.95
Cranberry
#9E003A
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B4A #1B9F70
analogous
#9F1B8C #9F1B4A #9F2E1B
triadic
#9F1B4A #4A9F1B #1B4A9F
tetradic
#9F1B4A #8C9F1B #1B9F70 #2E1B9F
square
#9F1B4A #8C9F1B #1B9F70 #2E1B9F
split-complementary
#9F1B4A #1B9F2E #1B8C9F
monochromatic
#360919 #6B1232 #9F1B4A #D32462 #E25386
Accessibility & contrast
On white
7.69
#9F1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1B4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B4A
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B4A | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#625C47
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1b4a; /* rgb */ color: rgb(159, 27, 74); /* oklch */ color: oklch(46.4% 0.168 6.4);
Tailwind
colors: {
custom: {
50: '#c2677c',
500: '#9f1b4a',
950: '#000000',
},
}SCSS
$custom: #9f1b4a; $custom-light: #c2677c; $custom-dark: #000000;
JSON
{
"hex": "#9f1b4a",
"rgb": {
"r": 159,
"g": 27,
"b": 74
},
"hsl": {
"h": 338.636,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.46404,
"c": 0.16757,
"h": 6.4
},
"luminance": 0.08649
}Semantic roles & 50–950 ramp
primary
#9F1B4A
secondary
#51C59C
accent
#EEAE3A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B