#9F1D4B#9F1D4B
#9F1D4B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.166 H 6.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D4B |
|---|---|
| RGB | rgb(159, 29, 75) |
| HSL | hsl(339, 69%, 37%) |
| HSV | hsv(339, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 52.8%, 37.6%) |
| CIE-LAB | lab(35.52, 54.07, 6.83) |
| CIE-LCH | lch(35.52, 54.50, 7.20°) |
| OKLab | oklab(46.57% 0.1652 0.0177) |
| OKLCH | oklch(46.57% 0.166 6.1) |
| XYZ | xyz(16.0089, 8.7600, 7.5031) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.64
Purple Red
#990147
ΔE00 2.94
Purplish Red
#B0054B
ΔE00 3.17
Raspberry (survey)
#B00149
ΔE00 3.35
Violet Red
#A50055
ΔE00 3.88
Cranberry
#9E003A
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D4B #1D9F71
analogous
#9F1D8C #9F1D4B #9F301D
triadic
#9F1D4B #4B9F1D #1D4B9F
tetradic
#9F1D4B #8C9F1D #1D9F71 #301D9F
square
#9F1D4B #8C9F1D #1D9F71 #301D9F
split-complementary
#9F1D4B #1D9F30 #1D8C9F
monochromatic
#370A1A #6B1433 #9F1D4B #D32663 #E05687
Accessibility & contrast
On white
7.63
#9F1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F1D4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D4B
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D4B | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40434C
Deuteranopia (green-blind)
#625D48
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1d4b; /* rgb */ color: rgb(159, 29, 75); /* oklch */ color: oklch(46.6% 0.166 6.1);
Tailwind
colors: {
custom: {
50: '#c2687d',
500: '#9f1d4b',
950: '#000000',
},
}SCSS
$custom: #9f1d4b; $custom-light: #c2687d; $custom-dark: #000000;
JSON
{
"hex": "#9f1d4b",
"rgb": {
"r": 159,
"g": 29,
"b": 75
},
"hsl": {
"h": 338.769,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.46569,
"c": 0.16615,
"h": 6.1
},
"luminance": 0.08758
}Semantic roles & 50–950 ramp
primary
#9F1D4B
secondary
#54C49C
accent
#ECAE3C
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B