#9A2285#9A2285
#9A2285 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.186 H 336.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2285 |
|---|---|
| RGB | rgb(154, 34, 133) |
| HSL | hsl(311, 64%, 37%) |
| HSV | hsv(311, 78%, 60%) |
| CMYK | cmyk(0%, 77.9%, 13.6%, 39.6%) |
| CIE-LAB | lab(37.32, 58.03, -27.37) |
| CIE-LCH | lch(37.32, 64.16, 334.75°) |
| OKLab | oklab(48.43% 0.1706 -0.0746) |
| OKLCH | oklch(48.43% 0.186 336.4) |
| XYZ | xyz(18.1324, 9.7092, 23.1049) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.72
Barney Purple
#A00498
ΔE00 4.01
Darkmagenta
#8B008B
ΔE00 5.61
Red Violet
#9E0168
ΔE00 6.53
Light Eggplant
#894585
ΔE00 6.61
Purple
#800080
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2285 #229A37
analogous
#73229A #9A2285 #9A2249
triadic
#9A2285 #859A22 #22859A
tetradic
#9A2285 #9A7322 #229A37 #22499A
square
#9A2285 #9A7322 #229A37 #22499A
split-complementary
#9A2285 #499A22 #229A73
monochromatic
#360C2E #68175A #9A2285 #CC2DB0 #DB5BC5
Accessibility & contrast
On white
7.14
#9A2285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9A2285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2285
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2285 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#4F5E82
Tritanopia (blue-blind)
#A22B52
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9a2285; /* rgb */ color: rgb(154, 34, 133); /* oklch */ color: oklch(48.4% 0.186 336.4);
Tailwind
colors: {
custom: {
50: '#bc6ba9',
500: '#9a2285',
950: '#000000',
},
}SCSS
$custom: #9a2285; $custom-light: #bc6ba9; $custom-dark: #000000;
JSON
{
"hex": "#9a2285",
"rgb": {
"r": 154,
"g": 34,
"b": 133
},
"hsl": {
"h": 310.5,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.48434,
"c": 0.18618,
"h": 336.4
},
"luminance": 0.09708
}Semantic roles & 50–950 ramp
primary
#9A2285
secondary
#58BF6A
accent
#E75E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F