#A22C74#A22C74
#A22C74 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.169 H 347.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A22C74 |
|---|---|
| RGB | rgb(162, 44, 116) |
| HSL | hsl(323, 57%, 40%) |
| HSV | hsv(323, 73%, 64%) |
| CMYK | cmyk(0%, 72.8%, 28.4%, 36.5%) |
| CIE-LAB | lab(39.15, 54.41, -13.85) |
| CIE-LCH | lch(39.15, 56.14, 345.71°) |
| OKLab | oklab(49.78% 0.1654 -0.0365) |
| OKLCH | oklch(49.78% 0.169 347.6) |
| XYZ | xyz(18.9542, 10.7458, 17.5956) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.37
Magenta (survey)
#C20078
ΔE00 5.66
Deep Magenta
#A0025C
ΔE00 5.77
Dark Fuchsia
#9D0759
ΔE00 6.25
Mediumvioletred
#C71585
ΔE00 6.69
Dark Magenta
#960056
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A22C74 #2CA25A
analogous
#952CA2 #A22C74 #A22C39
triadic
#A22C74 #74A22C #2C74A2
tetradic
#A22C74 #A2952C #2CA25A #2C39A2
square
#A22C74 #A2952C #2CA25A #2C39A2
split-complementary
#A22C74 #39A22C #2CA295
monochromatic
#42122F #721F52 #A22C74 #CB4095 #D870B0
Accessibility & contrast
On white
6.67
#A22C74 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#A22C74 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A22C74
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A22C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A22C74 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#5F6471
Tritanopia (blue-blind)
#AD284C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a22c74; /* rgb */ color: rgb(162, 44, 116); /* oklch */ color: oklch(49.8% 0.169 347.6);
Tailwind
colors: {
custom: {
50: '#c2709c',
500: '#a22c74',
950: '#000000',
},
}SCSS
$custom: #a22c74; $custom-light: #c2709c; $custom-dark: #000000;
JSON
{
"hex": "#a22c74",
"rgb": {
"r": 162,
"g": 44,
"b": 116
},
"hsl": {
"h": 323.39,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.49783,
"c": 0.16942,
"h": 347.6
},
"luminance": 0.10744
}Semantic roles & 50–950 ramp
primary
#A22C74
secondary
#6ABF8C
accent
#E18347
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E