#9F216F#9F216F
#9F216F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.177 H 348.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9F216F |
|---|---|
| RGB | rgb(159, 33, 111) |
| HSL | hsl(323, 66%, 38%) |
| HSV | hsv(323, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 30.2%, 37.6%) |
| CIE-LAB | lab(37.13, 56.58, -13.84) |
| CIE-LCH | lch(37.13, 58.25, 346.25°) |
| OKLab | oklab(48.14% 0.1727 -0.0364) |
| OKLCH | oklch(48.14% 0.177 348.1) |
| XYZ | xyz(17.7121, 9.6084, 15.9577) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.56
Deep Magenta
#A0025C
ΔE00 4.49
Dark Fuchsia
#9D0759
ΔE00 4.99
Dark Magenta
#960056
ΔE00 5.56
Magenta (survey)
#C20078
ΔE00 6.32
Reddish Purple
#910951
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F216F #219F51
analogous
#90219F #9F216F #9F2130
triadic
#9F216F #6F9F21 #216F9F
tetradic
#9F216F #9F9021 #219F51 #21309F
square
#9F216F #9F9021 #219F51 #21309F
split-complementary
#9F216F #309F21 #219F90
monochromatic
#3A0C28 #6C164C #9F216F #D22C92 #DD5DAC
Accessibility & contrast
On white
7.19
#9F216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#9F216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F216F
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F216F | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#5B5F6C
Tritanopia (blue-blind)
#AB1A46
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f216f; /* rgb */ color: rgb(159, 33, 111); /* oklch */ color: oklch(48.1% 0.177 348.1);
Tailwind
colors: {
custom: {
50: '#c06b98',
500: '#9f216f',
950: '#000000',
},
}SCSS
$custom: #9f216f; $custom-light: #c06b98; $custom-dark: #000000;
JSON
{
"hex": "#9f216f",
"rgb": {
"r": 159,
"g": 33,
"b": 111
},
"hsl": {
"h": 322.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48144,
"c": 0.17653,
"h": 348.1
},
"luminance": 0.09606
}Semantic roles & 50–950 ramp
primary
#9F216F
secondary
#5AC282
accent
#E9803F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E