#A42F7E#A42F7E
#A42F7E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.173 H 343.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F7E |
|---|---|
| RGB | rgb(164, 47, 126) |
| HSL | hsl(319, 55%, 41%) |
| HSV | hsv(319, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 23.2%, 35.7%) |
| CIE-LAB | lab(40.30, 55.17, -18.27) |
| CIE-LCH | lch(40.30, 58.12, 341.68°) |
| OKLab | oklab(50.83% 0.1662 -0.0488) |
| OKLCH | oklch(50.83% 0.173 343.6) |
| XYZ | xyz(20.0930, 11.4340, 20.8834) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.75
Warm Purple
#952E8F
ΔE00 6.03
Magenta (survey)
#C20078
ΔE00 6.06
Mediumvioletred
#C71585
ΔE00 6.22
Light Eggplant
#894585
ΔE00 6.87
Ugly Purple
#A442A0
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F7E #2FA455
analogous
#902FA4 #A42F7E #A42F44
triadic
#A42F7E #7EA42F #2F7EA4
tetradic
#A42F7E #A4902F #2FA455 #2F44A4
square
#A42F7E #A4902F #2FA455 #2F44A4
split-complementary
#A42F7E #44A42F #2FA490
monochromatic
#451435 #742159 #A42F7E #CA469F #D876B8
Accessibility & contrast
On white
6.39
#A42F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#A42F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F7E
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F7E | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#AF2F52
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #a42f7e; /* rgb */ color: rgb(164, 47, 126); /* oklch */ color: oklch(50.8% 0.173 343.6);
Tailwind
colors: {
custom: {
50: '#c372a3',
500: '#a42f7e',
950: '#000000',
},
}SCSS
$custom: #a42f7e; $custom-light: #c372a3; $custom-dark: #000000;
JSON
{
"hex": "#a42f7e",
"rgb": {
"r": 164,
"g": 47,
"b": 126
},
"hsl": {
"h": 319.487,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.50825,
"c": 0.17319,
"h": 343.6
},
"luminance": 0.11432
}Semantic roles & 50–950 ramp
primary
#A42F7E
secondary
#6FC089
accent
#DF7A49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F