#A22C7D#A22C7D
#A22C7D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 343.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A22C7D |
|---|---|
| RGB | rgb(162, 44, 125) |
| HSL | hsl(319, 57%, 40%) |
| HSV | hsv(319, 73%, 64%) |
| CMYK | cmyk(0%, 72.8%, 22.8%, 36.5%) |
| CIE-LAB | lab(39.52, 55.59, -18.88) |
| CIE-LCH | lch(39.52, 58.71, 341.24°) |
| OKLab | oklab(50.18% 0.1674 -0.0505) |
| OKLCH | oklch(50.18% 0.175 343.2) |
| XYZ | xyz(19.5033, 10.9654, 20.4875) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.26
Warm Purple
#952E8F
ΔE00 5.67
Magenta (survey)
#C20078
ΔE00 6.38
Mediumvioletred
#C71585
ΔE00 6.70
Light Eggplant
#894585
ΔE00 6.84
Barney Purple
#A00498
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22C7D #2CA251
analogous
#8C2CA2 #A22C7D #A22C42
triadic
#A22C7D #7DA22C #2C7DA2
tetradic
#A22C7D #A28C2C #2CA251 #2C42A2
square
#A22C7D #A28C2C #2CA251 #2C42A2
split-complementary
#A22C7D #42A22C #2CA28C
monochromatic
#421233 #721F58 #A22C7D #CB40A0 #D870B8
Accessibility & contrast
On white
6.58
#A22C7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#A22C7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22C7D
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22C7D | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AC2C51
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a22c7d; /* rgb */ color: rgb(162, 44, 125); /* oklch */ color: oklch(50.2% 0.175 343.2);
Tailwind
colors: {
custom: {
50: '#c170a2',
500: '#a22c7d',
950: '#000000',
},
}SCSS
$custom: #a22c7d; $custom-light: #c170a2; $custom-dark: #000000;
JSON
{
"hex": "#a22c7d",
"rgb": {
"r": 162,
"g": 44,
"b": 125
},
"hsl": {
"h": 318.814,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.50177,
"c": 0.17481,
"h": 343.2
},
"luminance": 0.10963
}Semantic roles & 50–950 ramp
primary
#A22C7D
secondary
#6ABF85
accent
#E17747
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F