#9A2284#9A2284
#9A2284 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.185 H 336.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2284 |
|---|---|
| RGB | rgb(154, 34, 132) |
| HSL | hsl(311, 64%, 37%) |
| HSV | hsv(311, 78%, 60%) |
| CMYK | cmyk(0%, 77.9%, 14.3%, 39.6%) |
| CIE-LAB | lab(37.27, 57.88, -26.83) |
| CIE-LCH | lch(37.27, 63.80, 335.13°) |
| OKLab | oklab(48.38% 0.1705 -0.0731) |
| OKLCH | oklch(48.38% 0.185 336.8) |
| XYZ | xyz(18.0637, 9.6817, 22.7427) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.89
Barney Purple
#A00498
ΔE00 4.20
Darkmagenta
#8B008B
ΔE00 5.73
Red Violet
#9E0168
ΔE00 6.33
Light Eggplant
#894585
ΔE00 6.62
Purple
#800080
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2284 #229A38
analogous
#74229A #9A2284 #9A2248
triadic
#9A2284 #849A22 #22849A
tetradic
#9A2284 #9A7422 #229A38 #22489A
square
#9A2284 #9A7422 #229A38 #22489A
split-complementary
#9A2284 #489A22 #229A74
monochromatic
#360C2E #681759 #9A2284 #CC2DAF #DB5BC4
Accessibility & contrast
On white
7.15
#9A2284 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9A2284 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2284
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2284 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2284 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#505E81
Tritanopia (blue-blind)
#A22A51
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9a2284; /* rgb */ color: rgb(154, 34, 132); /* oklch */ color: oklch(48.4% 0.185 336.8);
Tailwind
colors: {
custom: {
50: '#bc6ba8',
500: '#9a2284',
950: '#000000',
},
}SCSS
$custom: #9a2284; $custom-light: #bc6ba8; $custom-dark: #000000;
JSON
{
"hex": "#9a2284",
"rgb": {
"r": 154,
"g": 34,
"b": 132
},
"hsl": {
"h": 311,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.48381,
"c": 0.18548,
"h": 336.8
},
"luminance": 0.0968
}Semantic roles & 50–950 ramp
primary
#9A2284
secondary
#58BF6B
accent
#E75F41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F