#A42E8E#A42E8E
#A42E8E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.185 H 336.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A42E8E |
|---|---|
| RGB | rgb(164, 46, 142) |
| HSL | hsl(311, 56%, 41%) |
| HSV | hsv(311, 72%, 64%) |
| CMYK | cmyk(0%, 72%, 13.4%, 35.7%) |
| CIE-LAB | lab(40.90, 57.83, -27.16) |
| CIE-LCH | lch(40.90, 63.89, 334.84°) |
| OKLab | oklab(51.5% 0.1698 -0.0739) |
| OKLCH | oklch(51.5% 0.185 336.5) |
| XYZ | xyz(21.1697, 11.8014, 26.7489) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Ugly Purple
#A442A0
ΔE00 4.66
Barney Purple
#A00498
ΔE00 5.03
Medium Purple
#9E43A2
ΔE00 5.27
Light Eggplant
#894585
ΔE00 6.19
Barney
#AC1DB8
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42E8E #2EA444
analogous
#7F2EA4 #A42E8E #A42E53
triadic
#A42E8E #8EA42E #2E8EA4
tetradic
#A42E8E #A47F2E #2EA444 #2E53A4
square
#A42E8E #A47F2E #2EA444 #2E53A4
split-complementary
#A42E8E #53A42E #2EA47F
monochromatic
#44133B #742165 #A42E8E #CB45B2 #D874C5
Accessibility & contrast
On white
6.25
#A42E8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#A42E8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42E8E
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42E8E | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#AD365A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a42e8e; /* rgb */ color: rgb(164, 46, 142); /* oklch */ color: oklch(51.5% 0.185 336.5);
Tailwind
colors: {
custom: {
50: '#c272af',
500: '#a42e8e',
950: '#000000',
},
}SCSS
$custom: #a42e8e; $custom-light: #c272af; $custom-dark: #000000;
JSON
{
"hex": "#a42e8e",
"rgb": {
"r": 164,
"g": 46,
"b": 142
},
"hsl": {
"h": 311.186,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.51495,
"c": 0.18518,
"h": 336.5
},
"luminance": 0.11799
}Semantic roles & 50–950 ramp
primary
#A42E8E
secondary
#6EC07D
accent
#DF6548
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F