#A42A6C#A42A6C
#A42A6C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.169 H 352.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A6C |
|---|---|
| RGB | rgb(164, 42, 108) |
| HSL | hsl(328, 59%, 40%) |
| HSV | hsv(328, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 34.1%, 35.7%) |
| CIE-LAB | lab(38.96, 54.68, -9.10) |
| CIE-LCH | lch(38.96, 55.43, 350.55°) |
| OKLab | oklab(49.61% 0.1674 -0.0235) |
| OKLCH | oklch(49.61% 0.169 352) |
| XYZ | xyz(18.8457, 10.6334, 15.2445) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.39
Deep Magenta
#A0025C
ΔE00 4.42
Dark Fuchsia
#9D0759
ΔE00 4.83
Magenta (survey)
#C20078
ΔE00 5.28
Violet Red
#A50055
ΔE00 5.64
Dark Magenta
#960056
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A6C #2AA462
analogous
#9F2AA4 #A42A6C #A42A2F
triadic
#A42A6C #6CA42A #2A6CA4
tetradic
#A42A6C #A49F2A #2AA462 #2A2FA4
square
#A42A6C #A49F2A #2AA462 #2A2FA4
split-complementary
#A42A6C #2FA42A #2AA49F
monochromatic
#43112C #731E4C #A42A6C #CD3E8B #DA6EA9
Accessibility & contrast
On white
6.72
#A42A6C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#A42A6C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A6C
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A6C | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4E6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B12047
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42a6c; /* rgb */ color: rgb(164, 42, 108); /* oklch */ color: oklch(49.6% 0.169 352.0);
Tailwind
colors: {
custom: {
50: '#c36f96',
500: '#a42a6c',
950: '#000000',
},
}SCSS
$custom: #a42a6c; $custom-light: #c36f96; $custom-dark: #000000;
JSON
{
"hex": "#a42a6c",
"rgb": {
"r": 164,
"g": 42,
"b": 108
},
"hsl": {
"h": 327.541,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.49609,
"c": 0.16908,
"h": 352
},
"luminance": 0.10631
}Semantic roles & 50–950 ramp
primary
#A42A6C
secondary
#69C191
accent
#E28D45
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E