#A42A76#A42A76
#A42A76 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.174 H 347.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A76 |
|---|---|
| RGB | rgb(164, 42, 118) |
| HSL | hsl(323, 59%, 40%) |
| HSV | hsv(323, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 28%, 35.7%) |
| CIE-LAB | lab(39.34, 55.89, -14.77) |
| CIE-LCH | lch(39.34, 57.81, 345.19°) |
| OKLab | oklab(50.02% 0.17 -0.039) |
| OKLCH | oklch(50.02% 0.174 347.1) |
| XYZ | xyz(19.4087, 10.8586, 18.2098) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.41
Magenta (survey)
#C20078
ΔE00 5.39
Deep Magenta
#A0025C
ΔE00 5.98
Mediumvioletred
#C71585
ΔE00 6.32
Dark Fuchsia
#9D0759
ΔE00 6.51
Dark Magenta
#960056
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A76 #2AA458
analogous
#952AA4 #A42A76 #A42A39
triadic
#A42A76 #76A42A #2A76A4
tetradic
#A42A76 #A4952A #2AA458 #2A39A4
square
#A42A76 #A4952A #2AA458 #2A39A4
split-complementary
#A42A76 #39A42A #2AA495
monochromatic
#431130 #731E53 #A42A76 #CD3E97 #DA6EB1
Accessibility & contrast
On white
6.62
#A42A76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#A42A76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A76
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A76 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#5F6473
Tritanopia (blue-blind)
#B0264C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #a42a76; /* rgb */ color: rgb(164, 42, 118); /* oklch */ color: oklch(50.0% 0.174 347.1);
Tailwind
colors: {
custom: {
50: '#c36f9d',
500: '#a42a76',
950: '#000000',
},
}SCSS
$custom: #a42a76; $custom-light: #c36f9d; $custom-dark: #000000;
JSON
{
"hex": "#a42a76",
"rgb": {
"r": 164,
"g": 42,
"b": 118
},
"hsl": {
"h": 322.623,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.50016,
"c": 0.17437,
"h": 347.1
},
"luminance": 0.10856
}Semantic roles & 50–950 ramp
primary
#A42A76
secondary
#69C18A
accent
#E28145
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E