#9F2180#9F2180
#9F2180 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 340.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2180 |
|---|---|
| RGB | rgb(159, 33, 128) |
| HSL | hsl(315, 66%, 38%) |
| HSV | hsv(315, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 19.5%, 37.6%) |
| CIE-LAB | lab(37.88, 58.78, -23.33) |
| CIE-LCH | lch(37.88, 63.24, 338.35°) |
| OKLab | oklab(48.93% 0.1758 -0.063) |
| OKLCH | oklch(48.93% 0.187 340.3) |
| XYZ | xyz(18.7388, 10.0191, 21.3649) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.25
Red Violet
#9E0168
ΔE00 5.19
Barney Purple
#A00498
ΔE00 5.38
Light Eggplant
#894585
ΔE00 7.08
Darkmagenta
#8B008B
ΔE00 7.16
Ugly Purple
#A442A0
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2180 #219F40
analogous
#7F219F #9F2180 #9F2141
triadic
#9F2180 #809F21 #21809F
tetradic
#9F2180 #9F7F21 #219F40 #21419F
square
#9F2180 #9F7F21 #219F40 #21419F
split-complementary
#9F2180 #419F21 #219F7F
monochromatic
#3A0C2E #6C1657 #9F2180 #D22CA9 #DD5DBE
Accessibility & contrast
On white
6.99
#9F2180 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#9F2180 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2180
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2180 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#55607D
Tritanopia (blue-blind)
#A9254F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9f2180; /* rgb */ color: rgb(159, 33, 128); /* oklch */ color: oklch(48.9% 0.187 340.3);
Tailwind
colors: {
custom: {
50: '#bf6ba5',
500: '#9f2180',
950: '#000000',
},
}SCSS
$custom: #9f2180; $custom-light: #bf6ba5; $custom-dark: #000000;
JSON
{
"hex": "#9f2180",
"rgb": {
"r": 159,
"g": 33,
"b": 128
},
"hsl": {
"h": 314.762,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.48928,
"c": 0.1867,
"h": 340.3
},
"luminance": 0.10017
}Semantic roles & 50–950 ramp
primary
#9F2180
secondary
#5AC274
accent
#E9693F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F