#9F1D49#9F1D49
#9F1D49 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.166 H 7.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D49 |
|---|---|
| RGB | rgb(159, 29, 73) |
| HSL | hsl(340, 69%, 37%) |
| HSV | hsv(340, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 54.1%, 37.6%) |
| CIE-LAB | lab(35.47, 53.91, 8.05) |
| CIE-LCH | lch(35.47, 54.51, 8.49°) |
| OKLab | oklab(46.51% 0.1644 0.0207) |
| OKLCH | oklch(46.51% 0.166 7.2) |
| XYZ | xyz(15.9415, 8.7330, 7.1482) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.04
Berry
#990F4B
ΔE00 3.07
Raspberry (survey)
#B00149
ΔE00 3.14
Purple Red
#990147
ΔE00 3.21
Cranberry
#9E003A
ΔE00 3.75
Violet Red
#A50055
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D49 #1D9F73
analogous
#9F1D8A #9F1D49 #9F321D
triadic
#9F1D49 #499F1D #1D499F
tetradic
#9F1D49 #8A9F1D #1D9F73 #321D9F
square
#9F1D49 #8A9F1D #1D9F73 #321D9F
split-complementary
#9F1D49 #1D9F32 #1D8A9F
monochromatic
#370A19 #6B1431 #9F1D49 #D32661 #E05685
Accessibility & contrast
On white
7.65
#9F1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F1D49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D49
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D49 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41434A
Deuteranopia (green-blind)
#625D46
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1d49; /* rgb */ color: rgb(159, 29, 73); /* oklch */ color: oklch(46.5% 0.166 7.2);
Tailwind
colors: {
custom: {
50: '#c2687b',
500: '#9f1d49',
950: '#000000',
},
}SCSS
$custom: #9f1d49; $custom-light: #c2687b; $custom-dark: #000000;
JSON
{
"hex": "#9f1d49",
"rgb": {
"r": 159,
"g": 29,
"b": 73
},
"hsl": {
"h": 339.692,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46513,
"c": 0.16574,
"h": 7.2
},
"luminance": 0.08731
}Semantic roles & 50–950 ramp
primary
#9F1D49
secondary
#54C49E
accent
#ECB03C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B