#A22C8D#A22C8D
#A22C8D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.186 H 336.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A22C8D |
|---|---|
| RGB | rgb(162, 44, 141) |
| HSL | hsl(311, 57%, 40%) |
| HSV | hsv(311, 73%, 64%) |
| CMYK | cmyk(0%, 72.8%, 13%, 36.5%) |
| CIE-LAB | lab(40.26, 57.89, -27.57) |
| CIE-LCH | lch(40.26, 64.12, 334.53°) |
| OKLab | oklab(50.95% 0.1697 -0.0751) |
| OKLCH | oklch(50.95% 0.186 336.1) |
| XYZ | xyz(20.6090, 11.4077, 26.3106) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.92
Barney Purple
#A00498
ΔE00 4.60
Ugly Purple
#A442A0
ΔE00 5.01
Medium Purple
#9E43A2
ΔE00 5.50
Light Eggplant
#894585
ΔE00 6.13
Barney
#AC1DB8
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22C8D #2CA241
analogous
#7C2CA2 #A22C8D #A22C52
triadic
#A22C8D #8DA22C #2C8DA2
tetradic
#A22C8D #A27C2C #2CA241 #2C52A2
square
#A22C8D #A27C2C #2CA241 #2C52A2
split-complementary
#A22C8D #52A22C #2CA27C
monochromatic
#421239 #721F63 #A22C8D #CB40B2 #D870C6
Accessibility & contrast
On white
6.40
#A22C8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#A22C8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22C8D
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22C8D | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AA3459
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a22c8d; /* rgb */ color: rgb(162, 44, 141); /* oklch */ color: oklch(51.0% 0.186 336.1);
Tailwind
colors: {
custom: {
50: '#c171ae',
500: '#a22c8d',
950: '#000000',
},
}SCSS
$custom: #a22c8d; $custom-light: #c171ae; $custom-dark: #000000;
JSON
{
"hex": "#a22c8d",
"rgb": {
"r": 162,
"g": 44,
"b": 141
},
"hsl": {
"h": 310.678,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.50951,
"c": 0.18561,
"h": 336.1
},
"luminance": 0.11406
}Semantic roles & 50–950 ramp
primary
#A22C8D
secondary
#6ABF79
accent
#E16347
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F