#9F214B#9F214B
#9F214B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.163 H 6.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #9F214B |
|---|---|
| RGB | rgb(159, 33, 75) |
| HSL | hsl(340, 66%, 38%) |
| HSV | hsv(340, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 52.8%, 37.6%) |
| CIE-LAB | lab(35.92, 52.92, 7.40) |
| CIE-LCH | lch(35.92, 53.43, 7.96°) |
| OKLab | oklab(46.87% 0.1615 0.0192) |
| OKLCH | oklch(46.87% 0.163 6.8) |
| XYZ | xyz(16.1134, 8.9689, 7.5379) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.16
Berry
#990F4B
ΔE00 3.18
Raspberry (survey)
#B00149
ΔE00 3.31
Purple Red
#990147
ΔE00 3.48
Cranberry
#9E003A
ΔE00 4.26
Violet Red
#A50055
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F214B #219F75
analogous
#9F218A #9F214B #9F3621
triadic
#9F214B #4B9F21 #214B9F
tetradic
#9F214B #8A9F21 #219F75 #36219F
square
#9F214B #8A9F21 #219F75 #36219F
split-complementary
#9F214B #219F36 #218A9F
monochromatic
#3A0C1B #6C1633 #9F214B #D22C63 #DD5D88
Accessibility & contrast
On white
7.52
#9F214B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#9F214B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F214B
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F214B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F214B | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444C
Deuteranopia (green-blind)
#635D48
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f214b; /* rgb */ color: rgb(159, 33, 75); /* oklch */ color: oklch(46.9% 0.163 6.8);
Tailwind
colors: {
custom: {
50: '#c16a7d',
500: '#9f214b',
950: '#000000',
},
}SCSS
$custom: #9f214b; $custom-light: #c16a7d; $custom-dark: #000000;
JSON
{
"hex": "#9f214b",
"rgb": {
"r": 159,
"g": 33,
"b": 75
},
"hsl": {
"h": 340,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46868,
"c": 0.16261,
"h": 6.8
},
"luminance": 0.08967
}Semantic roles & 50–950 ramp
primary
#9F214B
secondary
#5AC29F
accent
#E9B03F
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B