#9F1D48#9F1D48
#9F1D48 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.166 H 7.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D48 |
|---|---|
| RGB | rgb(159, 29, 72) |
| HSL | hsl(340, 69%, 37%) |
| HSV | hsv(340, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 54.7%, 37.6%) |
| CIE-LAB | lab(35.44, 53.83, 8.66) |
| CIE-LCH | lch(35.44, 54.52, 9.14°) |
| OKLab | oklab(46.49% 0.1641 0.0222) |
| OKLCH | oklch(46.49% 0.166 7.7) |
| XYZ | xyz(15.9087, 8.7198, 6.9750) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.03
Raspberry (survey)
#B00149
ΔE00 3.07
Berry
#990F4B
ΔE00 3.32
Purple Red
#990147
ΔE00 3.38
Cranberry
#9E003A
ΔE00 3.49
Violet Red
#A50055
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D48 #1D9F74
analogous
#9F1D89 #9F1D48 #9F331D
triadic
#9F1D48 #489F1D #1D489F
tetradic
#9F1D48 #899F1D #1D9F74 #331D9F
square
#9F1D48 #899F1D #1D9F74 #331D9F
split-complementary
#9F1D48 #1D9F33 #1D899F
monochromatic
#370A19 #6B1431 #9F1D48 #D3265F #E05684
Accessibility & contrast
On white
7.65
#9F1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F1D48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D48
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D48 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625D45
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1d48; /* rgb */ color: rgb(159, 29, 72); /* oklch */ color: oklch(46.5% 0.166 7.7);
Tailwind
colors: {
custom: {
50: '#c2687a',
500: '#9f1d48',
950: '#000000',
},
}SCSS
$custom: #9f1d48; $custom-light: #c2687a; $custom-dark: #000000;
JSON
{
"hex": "#9f1d48",
"rgb": {
"r": 159,
"g": 29,
"b": 72
},
"hsl": {
"h": 340.154,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46486,
"c": 0.16554,
"h": 7.7
},
"luminance": 0.08718
}Semantic roles & 50–950 ramp
primary
#9F1D48
secondary
#54C49F
accent
#ECB23C
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B