#9F1D4A#9F1D4A
#9F1D4A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.166 H 6.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D4A |
|---|---|
| RGB | rgb(159, 29, 74) |
| HSL | hsl(339, 69%, 37%) |
| HSV | hsv(339, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 53.5%, 37.6%) |
| CIE-LAB | lab(35.49, 53.99, 7.44) |
| CIE-LCH | lch(35.49, 54.50, 7.85°) |
| OKLab | oklab(46.54% 0.1648 0.0192) |
| OKLCH | oklch(46.54% 0.166 6.7) |
| XYZ | xyz(15.9750, 8.7464, 7.3243) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.85
Purple Red
#990147
ΔE00 3.06
Purplish Red
#B0054B
ΔE00 3.09
Raspberry (survey)
#B00149
ΔE00 3.23
Cranberry
#9E003A
ΔE00 4.01
Violet Red
#A50055
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D4A #1D9F72
analogous
#9F1D8B #9F1D4A #9F311D
triadic
#9F1D4A #4A9F1D #1D4A9F
tetradic
#9F1D4A #8B9F1D #1D9F72 #311D9F
square
#9F1D4A #8B9F1D #1D9F72 #311D9F
split-complementary
#9F1D4A #1D9F31 #1D8B9F
monochromatic
#370A1A #6B1432 #9F1D4A #D32662 #E05686
Accessibility & contrast
On white
7.64
#9F1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F1D4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D4A
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D4A | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434B
Deuteranopia (green-blind)
#625D47
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1d4a; /* rgb */ color: rgb(159, 29, 74); /* oklch */ color: oklch(46.5% 0.166 6.7);
Tailwind
colors: {
custom: {
50: '#c2687c',
500: '#9f1d4a',
950: '#000000',
},
}SCSS
$custom: #9f1d4a; $custom-light: #c2687c; $custom-dark: #000000;
JSON
{
"hex": "#9f1d4a",
"rgb": {
"r": 159,
"g": 29,
"b": 74
},
"hsl": {
"h": 339.231,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46541,
"c": 0.16594,
"h": 6.7
},
"luminance": 0.08744
}Semantic roles & 50–950 ramp
primary
#9F1D4A
secondary
#54C49D
accent
#ECAF3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B