#9F1D4C#9F1D4C
#9F1D4C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 5.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D4C |
|---|---|
| RGB | rgb(159, 29, 76) |
| HSL | hsl(338, 69%, 37%) |
| HSV | hsv(338, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 52.2%, 37.6%) |
| CIE-LAB | lab(35.54, 54.15, 6.22) |
| CIE-LCH | lch(35.54, 54.51, 6.55°) |
| OKLab | oklab(46.6% 0.1656 0.0163) |
| OKLCH | oklch(46.6% 0.166 5.6) |
| XYZ | xyz(16.0434, 8.7737, 7.6848) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.45
Purple Red
#990147
ΔE00 2.85
Purplish Red
#B0054B
ΔE00 3.28
Raspberry (survey)
#B00149
ΔE00 3.49
Violet Red
#A50055
ΔE00 3.61
Cranberry
#9E003A
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D4C #1D9F70
analogous
#9F1D8D #9F1D4C #9F2F1D
triadic
#9F1D4C #4C9F1D #1D4C9F
tetradic
#9F1D4C #8D9F1D #1D9F70 #2F1D9F
square
#9F1D4C #8D9F1D #1D9F70 #2F1D9F
split-complementary
#9F1D4C #1D9F2F #1D8D9F
monochromatic
#370A1B #6B1433 #9F1D4C #D32665 #E05688
Accessibility & contrast
On white
7.62
#9F1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F1D4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D4C
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D4C | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1d4c; /* rgb */ color: rgb(159, 29, 76); /* oklch */ color: oklch(46.6% 0.166 5.6);
Tailwind
colors: {
custom: {
50: '#c1687d',
500: '#9f1d4c',
950: '#000000',
},
}SCSS
$custom: #9f1d4c; $custom-light: #c1687d; $custom-dark: #000000;
JSON
{
"hex": "#9f1d4c",
"rgb": {
"r": 159,
"g": 29,
"b": 76
},
"hsl": {
"h": 338.308,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46598,
"c": 0.16638,
"h": 5.6
},
"luminance": 0.08771
}Semantic roles & 50–950 ramp
primary
#9F1D4C
secondary
#54C49B
accent
#ECAC3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B