#9F2186#9F2186
#9F2186 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.191 H 337.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2186 |
|---|---|
| RGB | rgb(159, 33, 134) |
| HSL | hsl(312, 66%, 38%) |
| HSV | hsv(312, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 15.7%, 37.6%) |
| CIE-LAB | lab(38.17, 59.62, -26.59) |
| CIE-LCH | lch(38.17, 65.28, 335.96°) |
| OKLab | oklab(49.23% 0.1764 -0.0723) |
| OKLCH | oklch(49.23% 0.191 337.7) |
| XYZ | xyz(19.1454, 10.1817, 23.5066) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.19
Barney Purple
#A00498
ΔE00 4.21
Red Violet
#9E0168
ΔE00 6.34
Darkmagenta
#8B008B
ΔE00 6.39
Light Eggplant
#894585
ΔE00 6.88
Ugly Purple
#A442A0
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2186 #219F3A
analogous
#79219F #9F2186 #9F2147
triadic
#9F2186 #869F21 #21869F
tetradic
#9F2186 #9F7921 #219F3A #21479F
square
#9F2186 #9F7921 #219F3A #21479F
split-complementary
#9F2186 #479F21 #219F79
monochromatic
#3A0C31 #6C165B #9F2186 #D22CB1 #DD5DC4
Accessibility & contrast
On white
6.92
#9F2186 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#9F2186 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2186
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2186 | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A82952
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f2186; /* rgb */ color: rgb(159, 33, 134); /* oklch */ color: oklch(49.2% 0.191 337.7);
Tailwind
colors: {
custom: {
50: '#bf6ca9',
500: '#9f2186',
950: '#000000',
},
}SCSS
$custom: #9f2186; $custom-light: #bf6ca9; $custom-dark: #000000;
JSON
{
"hex": "#9f2186",
"rgb": {
"r": 159,
"g": 33,
"b": 134
},
"hsl": {
"h": 311.905,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.49231,
"c": 0.19067,
"h": 337.7
},
"luminance": 0.1018
}Semantic roles & 50–950 ramp
primary
#9F2186
secondary
#5AC26F
accent
#E9613F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F