#A42A52#A42A52
#A42A52 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.160 H 5.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A52 |
|---|---|
| RGB | rgb(164, 42, 82) |
| HSL | hsl(340, 59%, 40%) |
| HSV | hsv(340, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 50%, 35.7%) |
| CIE-LAB | lab(38.13, 52.01, 6.16) |
| CIE-LCH | lch(38.13, 52.38, 6.76°) |
| OKLab | oklab(48.73% 0.1588 0.0162) |
| OKLCH | oklch(48.73% 0.16 5.8) |
| XYZ | xyz(17.6623, 10.1600, 9.0120) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.35
Raspberry (survey)
#B00149
ΔE00 3.67
Berry
#990F4B
ΔE00 4.50
Light Burgundy
#A8415B
ΔE00 4.61
Violet Red
#A50055
ΔE00 4.67
Purple Red
#990147
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A52 #2AA47C
analogous
#A42A8F #A42A52 #A43F2A
triadic
#A42A52 #52A42A #2A52A4
tetradic
#A42A52 #8FA42A #2AA47C #3F2AA4
square
#A42A52 #8FA42A #2AA47C #3F2AA4
split-complementary
#A42A52 #2AA43F #2A8FA4
monochromatic
#431121 #731E3A #A42A52 #CD3E6D #DA6E92
Accessibility & contrast
On white
6.93
#A42A52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A42A52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A52
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A52 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#B30F3B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a42a52; /* rgb */ color: rgb(164, 42, 82); /* oklch */ color: oklch(48.7% 0.160 5.8);
Tailwind
colors: {
custom: {
50: '#c56e82',
500: '#a42a52',
950: '#000000',
},
}SCSS
$custom: #a42a52; $custom-light: #c56e82; $custom-dark: #000000;
JSON
{
"hex": "#a42a52",
"rgb": {
"r": 164,
"g": 42,
"b": 82
},
"hsl": {
"h": 340.328,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.4873,
"c": 0.15965,
"h": 5.8
},
"luminance": 0.10158
}Semantic roles & 50–950 ramp
primary
#A42A52
secondary
#69C1A4
accent
#E2AF45
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C