#A42852#A42852
#A42852 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.162 H 5.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A42852 |
|---|---|
| RGB | rgb(164, 40, 82) |
| HSL | hsl(340, 61%, 40%) |
| HSV | hsv(340, 76%, 64%) |
| CMYK | cmyk(0%, 75.6%, 50%, 35.7%) |
| CIE-LAB | lab(37.88, 52.70, 5.81) |
| CIE-LCH | lch(37.88, 53.02, 6.29°) |
| OKLab | oklab(48.55% 0.1611 0.0153) |
| OKLCH | oklch(48.55% 0.162 5.4) |
| XYZ | xyz(17.5931, 10.0217, 8.9890) |
| Luminance | 0.1002 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.25
Raspberry (survey)
#B00149
ΔE00 3.59
Berry
#990F4B
ΔE00 4.19
Violet Red
#A50055
ΔE00 4.31
Purple Red
#990147
ΔE00 4.78
Light Burgundy
#A8415B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42852 #28A47A
analogous
#A42890 #A42852 #A43C28
triadic
#A42852 #52A428 #2852A4
tetradic
#A42852 #90A428 #28A47A #3C28A4
square
#A42852 #90A428 #28A47A #3C28A4
split-complementary
#A42852 #28A43C #2890A4
monochromatic
#421021 #731C39 #A42852 #CF3A6D #DB6B91
Accessibility & contrast
On white
6.99
#A42852 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#A42852 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42852
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42852 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#B30A3A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a42852; /* rgb */ color: rgb(164, 40, 82); /* oklch */ color: oklch(48.5% 0.162 5.4);
Tailwind
colors: {
custom: {
50: '#c56d82',
500: '#a42852',
950: '#000000',
},
}SCSS
$custom: #a42852; $custom-light: #c56d82; $custom-dark: #000000;
JSON
{
"hex": "#a42852",
"rgb": {
"r": 164,
"g": 40,
"b": 82
},
"hsl": {
"h": 339.677,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.48547,
"c": 0.16178,
"h": 5.4
},
"luminance": 0.10019
}Semantic roles & 50–950 ramp
primary
#A42852
secondary
#66C1A3
accent
#E4AE44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C