#A42A6A#A42A6A
#A42A6A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.168 H 353.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A6A |
|---|---|
| RGB | rgb(164, 42, 106) |
| HSL | hsl(329, 59%, 40%) |
| HSV | hsv(329, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 35.4%, 35.7%) |
| CIE-LAB | lab(38.88, 54.45, -7.95) |
| CIE-LCH | lch(38.88, 55.03, 351.69°) |
| OKLab | oklab(49.53% 0.1669 -0.0204) |
| OKLCH | oklch(49.53% 0.168 353) |
| XYZ | xyz(18.7405, 10.5913, 14.6903) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 4.21
Red Violet
#9E0168
ΔE00 4.57
Dark Fuchsia
#9D0759
ΔE00 4.58
Violet Red
#A50055
ΔE00 5.24
Magenta (survey)
#C20078
ΔE00 5.39
Dark Magenta
#960056
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A6A #2AA464
analogous
#A12AA4 #A42A6A #A42A2D
triadic
#A42A6A #6AA42A #2A6AA4
tetradic
#A42A6A #A4A12A #2AA464 #2A2DA4
square
#A42A6A #A4A12A #2AA464 #2A2DA4
split-complementary
#A42A6A #2DA42A #2AA4A1
monochromatic
#43112B #731E4B #A42A6A #CD3E89 #DA6EA7
Accessibility & contrast
On white
6.74
#A42A6A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#A42A6A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A6A
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A6A | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404D6C
Deuteranopia (green-blind)
#626467
Tritanopia (blue-blind)
#B11F46
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42a6a; /* rgb */ color: rgb(164, 42, 106); /* oklch */ color: oklch(49.5% 0.168 353.0);
Tailwind
colors: {
custom: {
50: '#c36f94',
500: '#a42a6a',
950: '#000000',
},
}SCSS
$custom: #a42a6a; $custom-light: #c36f94; $custom-dark: #000000;
JSON
{
"hex": "#a42a6a",
"rgb": {
"r": 164,
"g": 42,
"b": 106
},
"hsl": {
"h": 328.525,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.49532,
"c": 0.16812,
"h": 353
},
"luminance": 0.10589
}Semantic roles & 50–950 ramp
primary
#A42A6A
secondary
#69C193
accent
#E29045
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E