#9A2178#9A2178
#9A2178 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.179 H 342.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2178 |
|---|---|
| RGB | rgb(154, 33, 120) |
| HSL | hsl(317, 65%, 37%) |
| HSV | hsv(317, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 22.1%, 39.6%) |
| CIE-LAB | lab(36.59, 56.49, -20.42) |
| CIE-LCH | lch(36.59, 60.07, 340.13°) |
| OKLab | oklab(47.7% 0.1699 -0.0548) |
| OKLCH | oklch(47.7% 0.179 342.1) |
| XYZ | xyz(17.2611, 9.3156, 18.6547) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.97
Warm Purple
#952E8F
ΔE00 5.29
Barney Purple
#A00498
ΔE00 6.58
Deep Magenta
#A0025C
ΔE00 6.89
Light Eggplant
#894585
ΔE00 7.33
Dark Fuchsia
#9D0759
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2178 #219A43
analogous
#80219A #9A2178 #9A213B
triadic
#9A2178 #789A21 #21789A
tetradic
#9A2178 #9A8021 #219A43 #213B9A
square
#9A2178 #9A8021 #219A43 #213B9A
split-complementary
#9A2178 #3B9A21 #219A80
monochromatic
#350B29 #681651 #9A2178 #CC2C9F #DC5AB7
Accessibility & contrast
On white
7.34
#9A2178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9A2178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2178
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2178 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4A7A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A4234A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a2178; /* rgb */ color: rgb(154, 33, 120); /* oklch */ color: oklch(47.7% 0.179 342.1);
Tailwind
colors: {
custom: {
50: '#bc6a9f',
500: '#9a2178',
950: '#000000',
},
}SCSS
$custom: #9a2178; $custom-light: #bc6a9f; $custom-dark: #000000;
JSON
{
"hex": "#9a2178",
"rgb": {
"r": 154,
"g": 33,
"b": 120
},
"hsl": {
"h": 316.86,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.47704,
"c": 0.17853,
"h": 342.1
},
"luminance": 0.09314
}Semantic roles & 50–950 ramp
primary
#9A2178
secondary
#57C074
accent
#E86F40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E