#9F217F#9F217F
#9F217F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.186 H 340.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9F217F |
|---|---|
| RGB | rgb(159, 33, 127) |
| HSL | hsl(315, 66%, 38%) |
| HSV | hsv(315, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 20.1%, 37.6%) |
| CIE-LAB | lab(37.83, 58.64, -22.78) |
| CIE-LCH | lch(37.83, 62.91, 338.77°) |
| OKLab | oklab(48.88% 0.1756 -0.0615) |
| OKLCH | oklch(48.88% 0.186 340.7) |
| XYZ | xyz(18.6733, 9.9929, 21.0200) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.45
Red Violet
#9E0168
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.59
Light Eggplant
#894585
ΔE00 7.13
Darkmagenta
#8B008B
ΔE00 7.31
Magenta (survey)
#C20078
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F217F #219F41
analogous
#80219F #9F217F #9F2140
triadic
#9F217F #7F9F21 #217F9F
tetradic
#9F217F #9F8021 #219F41 #21409F
square
#9F217F #9F8021 #219F41 #21409F
split-complementary
#9F217F #409F21 #219F80
monochromatic
#3A0C2E #6C1657 #9F217F #D22CA7 #DD5DBD
Accessibility & contrast
On white
7.00
#9F217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#9F217F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F217F
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F217F | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#56607C
Tritanopia (blue-blind)
#A9254E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f217f; /* rgb */ color: rgb(159, 33, 127); /* oklch */ color: oklch(48.9% 0.186 340.7);
Tailwind
colors: {
custom: {
50: '#bf6ba4',
500: '#9f217f',
950: '#000000',
},
}SCSS
$custom: #9f217f; $custom-light: #bf6ba4; $custom-dark: #000000;
JSON
{
"hex": "#9f217f",
"rgb": {
"r": 159,
"g": 33,
"b": 127
},
"hsl": {
"h": 315.238,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48879,
"c": 0.18606,
"h": 340.7
},
"luminance": 0.09991
}Semantic roles & 50–950 ramp
primary
#9F217F
secondary
#5AC274
accent
#E96A3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F