#A42A8F#A42A8F
#A42A8F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.190 H 336.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A8F |
|---|---|
| RGB | rgb(164, 42, 143) |
| HSL | hsl(310, 59%, 40%) |
| HSV | hsv(310, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 12.8%, 35.7%) |
| CIE-LAB | lab(40.46, 59.35, -28.45) |
| CIE-LCH | lch(40.46, 65.81, 334.39°) |
| OKLab | oklab(51.2% 0.174 -0.0776) |
| OKLCH | oklch(51.2% 0.19 336) |
| XYZ | xyz(21.0961, 11.5335, 27.0964) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.05
Barney Purple
#A00498
ΔE00 4.38
Ugly Purple
#A442A0
ΔE00 4.91
Medium Purple
#9E43A2
ΔE00 5.43
Light Eggplant
#894585
ΔE00 6.51
Barney
#AC1DB8
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A8F #2AA43F
analogous
#7C2AA4 #A42A8F #A42A52
triadic
#A42A8F #8FA42A #2A8FA4
tetradic
#A42A8F #A47C2A #2AA43F #2A52A4
square
#A42A8F #A47C2A #2AA43F #2A52A4
split-complementary
#A42A8F #52A42A #2AA47C
monochromatic
#43113A #731E65 #A42A8F #CD3EB5 #DA6EC7
Accessibility & contrast
On white
6.35
#A42A8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#A42A8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A8F
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A8F | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#AD335A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a42a8f; /* rgb */ color: rgb(164, 42, 143); /* oklch */ color: oklch(51.2% 0.190 336.0);
Tailwind
colors: {
custom: {
50: '#c370b0',
500: '#a42a8f',
950: '#000000',
},
}SCSS
$custom: #a42a8f; $custom-light: #c370b0; $custom-dark: #000000;
JSON
{
"hex": "#a42a8f",
"rgb": {
"r": 164,
"g": 42,
"b": 143
},
"hsl": {
"h": 310.328,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.51198,
"c": 0.19048,
"h": 336
},
"luminance": 0.11532
}Semantic roles & 50–950 ramp
primary
#A42A8F
secondary
#69C178
accent
#E26045
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F