#9F2166#9F2166
#9F2166 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.172 H 352.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2166 |
|---|---|
| RGB | rgb(159, 33, 102) |
| HSL | hsl(327, 66%, 38%) |
| HSV | hsv(327, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 35.8%, 37.6%) |
| CIE-LAB | lab(36.78, 55.54, -8.67) |
| CIE-LCH | lch(36.78, 56.21, 351.12°) |
| OKLab | oklab(47.78% 0.1705 -0.0223) |
| OKLCH | oklch(47.78% 0.172 352.5) |
| XYZ | xyz(17.2413, 9.4201, 13.4781) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 2.79
Red Violet
#9E0168
ΔE00 2.99
Dark Fuchsia
#9D0759
ΔE00 3.17
Dark Magenta
#960056
ΔE00 4.13
Violet Red
#A50055
ΔE00 4.59
Reddish Purple
#910951
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2166 #219F5A
analogous
#99219F #9F2166 #9F2127
triadic
#9F2166 #669F21 #21669F
tetradic
#9F2166 #9F9921 #219F5A #21279F
square
#9F2166 #9F9921 #219F5A #21279F
split-complementary
#9F2166 #279F21 #219F99
monochromatic
#3A0C25 #6C1645 #9F2166 #D22C87 #DD5DA3
Accessibility & contrast
On white
7.28
#9F2166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9F2166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2166
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2166 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394868
Deuteranopia (green-blind)
#5D5F63
Tritanopia (blue-blind)
#AC1341
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f2166; /* rgb */ color: rgb(159, 33, 102); /* oklch */ color: oklch(47.8% 0.172 352.5);
Tailwind
colors: {
custom: {
50: '#c06a91',
500: '#9f2166',
950: '#000000',
},
}SCSS
$custom: #9f2166; $custom-light: #c06a91; $custom-dark: #000000;
JSON
{
"hex": "#9f2166",
"rgb": {
"r": 159,
"g": 33,
"b": 102
},
"hsl": {
"h": 327.143,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.47776,
"c": 0.17194,
"h": 352.5
},
"luminance": 0.09418
}Semantic roles & 50–950 ramp
primary
#9F2166
secondary
#5AC289
accent
#E98C3F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D