#9F1B4B#9F1B4B
#9F1B4B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.168 H 5.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1B4B |
|---|---|
| RGB | rgb(159, 27, 75) |
| HSL | hsl(338, 71%, 36%) |
| HSV | hsv(338, 83%, 62%) |
| CMYK | cmyk(0%, 83%, 52.8%, 37.6%) |
| CIE-LAB | lab(35.33, 54.60, 6.56) |
| CIE-LCH | lch(35.33, 54.99, 6.86°) |
| OKLab | oklab(46.43% 0.1669 0.0171) |
| OKLCH | oklch(46.43% 0.168 5.8) |
| XYZ | xyz(15.9615, 8.6651, 7.4873) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.40
Purple Red
#990147
ΔE00 2.70
Purplish Red
#B0054B
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 3.40
Violet Red
#A50055
ΔE00 3.67
Cranberry
#9E003A
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1B4B #1B9F6F
analogous
#9F1B8D #9F1B4B #9F2D1B
triadic
#9F1B4B #4B9F1B #1B4B9F
tetradic
#9F1B4B #8D9F1B #1B9F6F #2D1B9F
square
#9F1B4B #8D9F1B #1B9F6F #2D1B9F
split-complementary
#9F1B4B #1B9F2D #1B8D9F
monochromatic
#36091A #6B1232 #9F1B4B #D32464 #E25387
Accessibility & contrast
On white
7.68
#9F1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1B4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1B4B
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1B4B | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1b4b; /* rgb */ color: rgb(159, 27, 75); /* oklch */ color: oklch(46.4% 0.168 5.8);
Tailwind
colors: {
custom: {
50: '#c2677d',
500: '#9f1b4b',
950: '#000000',
},
}SCSS
$custom: #9f1b4b; $custom-light: #c2677d; $custom-dark: #000000;
JSON
{
"hex": "#9f1b4b",
"rgb": {
"r": 159,
"g": 27,
"b": 75
},
"hsl": {
"h": 338.182,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.46432,
"c": 0.16779,
"h": 5.8
},
"luminance": 0.08663
}Semantic roles & 50–950 ramp
primary
#9F1B4B
secondary
#51C59B
accent
#EEAC3A
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B