#9A2179#9A2179
#9A2179 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.179 H 341.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2179 |
|---|---|
| RGB | rgb(154, 33, 121) |
| HSL | hsl(316, 65%, 37%) |
| HSV | hsv(316, 79%, 60%) |
| CMYK | cmyk(0%, 78.6%, 21.4%, 39.6%) |
| CIE-LAB | lab(36.63, 56.62, -20.97) |
| CIE-LCH | lch(36.63, 60.38, 339.68°) |
| OKLab | oklab(47.75% 0.1701 -0.0564) |
| OKLCH | oklch(47.75% 0.179 341.6) |
| XYZ | xyz(17.3221, 9.3400, 18.9760) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.16
Warm Purple
#952E8F
ΔE00 5.08
Barney Purple
#A00498
ΔE00 6.36
Deep Magenta
#A0025C
ΔE00 7.10
Light Eggplant
#894585
ΔE00 7.25
Darkmagenta
#8B008B
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2179 #219A42
analogous
#7F219A #9A2179 #9A213C
triadic
#9A2179 #799A21 #21799A
tetradic
#9A2179 #9A7F21 #219A42 #213C9A
square
#9A2179 #9A7F21 #219A42 #213C9A
split-complementary
#9A2179 #3C9A21 #219A7F
monochromatic
#350B2A #681651 #9A2179 #CC2CA1 #DC5AB8
Accessibility & contrast
On white
7.32
#9A2179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9A2179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A2179
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2179 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A4234B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a2179; /* rgb */ color: rgb(154, 33, 121); /* oklch */ color: oklch(47.8% 0.179 341.6);
Tailwind
colors: {
custom: {
50: '#bc6aa0',
500: '#9a2179',
950: '#000000',
},
}SCSS
$custom: #9a2179; $custom-light: #bc6aa0; $custom-dark: #000000;
JSON
{
"hex": "#9a2179",
"rgb": {
"r": 154,
"g": 33,
"b": 121
},
"hsl": {
"h": 316.364,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.47752,
"c": 0.17917,
"h": 341.6
},
"luminance": 0.09338
}Semantic roles & 50–950 ramp
primary
#9A2179
secondary
#57C074
accent
#E86E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E