#A42A5A#A42A5A
#A42A5A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.162 H 1.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A5A |
|---|---|
| RGB | rgb(164, 42, 90) |
| HSL | hsl(336, 59%, 40%) |
| HSV | hsv(336, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 45.1%, 35.7%) |
| CIE-LAB | lab(38.36, 52.76, 1.40) |
| CIE-LCH | lch(38.36, 52.77, 1.52°) |
| OKLab | oklab(48.97% 0.1618 0.0042) |
| OKLCH | oklch(48.97% 0.162 1.5) |
| XYZ | xyz(17.9847, 10.2890, 10.7098) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.57
Berry
#990F4B
ΔE00 4.47
Dark Fuchsia
#9D0759
ΔE00 4.81
Purplish Red
#B0054B
ΔE00 4.84
Deep Magenta
#A0025C
ΔE00 4.98
Raspberry (survey)
#B00149
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A5A #2AA474
analogous
#A42A97 #A42A5A #A4372A
triadic
#A42A5A #5AA42A #2A5AA4
tetradic
#A42A5A #97A42A #2AA474 #372AA4
square
#A42A5A #97A42A #2AA474 #372AA4
split-complementary
#A42A5A #2AA437 #2A97A4
monochromatic
#431125 #731E3F #A42A5A #CD3E76 #DA6E99
Accessibility & contrast
On white
6.87
#A42A5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#A42A5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A5A
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A5A | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B2153E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a42a5a; /* rgb */ color: rgb(164, 42, 90); /* oklch */ color: oklch(49.0% 0.162 1.5);
Tailwind
colors: {
custom: {
50: '#c46e88',
500: '#a42a5a',
950: '#000000',
},
}SCSS
$custom: #a42a5a; $custom-light: #c46e88; $custom-dark: #000000;
JSON
{
"hex": "#a42a5a",
"rgb": {
"r": 164,
"g": 42,
"b": 90
},
"hsl": {
"h": 336.393,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.48972,
"c": 0.16181,
"h": 1.5
},
"luminance": 0.10287
}Semantic roles & 50–950 ramp
primary
#A42A5A
secondary
#69C19E
accent
#E2A545
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C