#9A2180#9A2180
#9A2180 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 338.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2180 |
|---|---|
| RGB | rgb(154, 33, 128) |
| HSL | hsl(313, 65%, 37%) |
| HSV | hsv(313, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 16.9%, 39.6%) |
| CIE-LAB | lab(36.96, 57.60, -24.82) |
| CIE-LCH | lch(36.96, 62.72, 336.69°) |
| OKLab | oklab(48.1% 0.171 -0.0673) |
| OKLCH | oklch(48.1% 0.184 338.5) |
| XYZ | xyz(17.7670, 9.5180, 21.3193) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.66
Barney Purple
#A00498
ΔE00 4.91
Red Violet
#9E0168
ΔE00 5.53
Darkmagenta
#8B008B
ΔE00 6.18
Light Eggplant
#894585
ΔE00 6.82
Purple
#800080
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2180 #219A3B
analogous
#78219A #9A2180 #9A2143
triadic
#9A2180 #809A21 #21809A
tetradic
#9A2180 #9A7821 #219A3B #21439A
square
#9A2180 #9A7821 #219A3B #21439A
split-complementary
#9A2180 #439A21 #219A78
monochromatic
#350B2C #681656 #9A2180 #CC2CAA #DC5AC0
Accessibility & contrast
On white
7.23
#9A2180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9A2180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2180
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2180 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B83
Deuteranopia (green-blind)
#515E7D
Tritanopia (blue-blind)
#A3274F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a2180; /* rgb */ color: rgb(154, 33, 128); /* oklch */ color: oklch(48.1% 0.184 338.5);
Tailwind
colors: {
custom: {
50: '#bc6ba5',
500: '#9a2180',
950: '#000000',
},
}SCSS
$custom: #9a2180; $custom-light: #bc6ba5; $custom-dark: #000000;
JSON
{
"hex": "#9a2180",
"rgb": {
"r": 154,
"g": 33,
"b": 128
},
"hsl": {
"h": 312.893,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.481,
"c": 0.18375,
"h": 338.5
},
"luminance": 0.09516
}Semantic roles & 50–950 ramp
primary
#9A2180
secondary
#57C06E
accent
#E86440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F