#9F1D47#9F1D47
#9F1D47 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.165 H 8.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D47 |
|---|---|
| RGB | rgb(159, 29, 71) |
| HSL | hsl(341, 69%, 37%) |
| HSV | hsv(341, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 55.3%, 37.6%) |
| CIE-LAB | lab(35.41, 53.75, 9.28) |
| CIE-LCH | lch(35.41, 54.55, 9.79°) |
| OKLab | oklab(46.46% 0.1637 0.0237) |
| OKLCH | oklch(46.46% 0.165 8.2) |
| XYZ | xyz(15.8763, 8.7069, 6.8046) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.04
Purplish Red
#B0054B
ΔE00 3.05
Cranberry
#9E003A
ΔE00 3.25
Purple Red
#990147
ΔE00 3.57
Berry
#990F4B
ΔE00 3.58
Violet Red
#A50055
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D47 #1D9F75
analogous
#9F1D88 #9F1D47 #9F341D
triadic
#9F1D47 #479F1D #1D479F
tetradic
#9F1D47 #889F1D #1D9F75 #341D9F
square
#9F1D47 #889F1D #1D9F75 #341D9F
split-complementary
#9F1D47 #1D9F34 #1D889F
monochromatic
#370A19 #6B1430 #9F1D47 #D3265E #E05683
Accessibility & contrast
On white
7.66
#9F1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F1D47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D47
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D47 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414348
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1d47; /* rgb */ color: rgb(159, 29, 71); /* oklch */ color: oklch(46.5% 0.165 8.2);
Tailwind
colors: {
custom: {
50: '#c26879',
500: '#9f1d47',
950: '#000000',
},
}SCSS
$custom: #9f1d47; $custom-light: #c26879; $custom-dark: #000000;
JSON
{
"hex": "#9f1d47",
"rgb": {
"r": 159,
"g": 29,
"b": 71
},
"hsl": {
"h": 340.615,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46459,
"c": 0.16536,
"h": 8.2
},
"luminance": 0.08705
}Semantic roles & 50–950 ramp
primary
#9F1D47
secondary
#54C4A0
accent
#ECB33C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B