#A42B7F#A42B7F
#A42B7F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.179 H 342.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B7F |
|---|---|
| RGB | rgb(164, 43, 127) |
| HSL | hsl(318, 58%, 41%) |
| HSV | hsv(318, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 22.6%, 35.7%) |
| CIE-LAB | lab(39.84, 56.73, -19.60) |
| CIE-LCH | lch(39.84, 60.02, 340.94°) |
| OKLab | oklab(50.5% 0.1707 -0.0525) |
| OKLCH | oklch(50.5% 0.179 342.9) |
| XYZ | xyz(20.0052, 11.1546, 21.1741) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.51
Warm Purple
#952E8F
ΔE00 5.56
Magenta (survey)
#C20078
ΔE00 6.22
Mediumvioletred
#C71585
ΔE00 6.40
Light Eggplant
#894585
ΔE00 6.96
Barney Purple
#A00498
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B7F #2BA450
analogous
#8C2BA4 #A42B7F #A42B42
triadic
#A42B7F #7FA42B #2B7FA4
tetradic
#A42B7F #A48C2B #2BA450 #2B42A4
square
#A42B7F #A48C2B #2BA450 #2B42A4
split-complementary
#A42B7F #42A42B #2BA48C
monochromatic
#431234 #741E59 #A42B7F #CD3FA2 #D970B9
Accessibility & contrast
On white
6.50
#A42B7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#A42B7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B7F
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B7F | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#AF2C51
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #a42b7f; /* rgb */ color: rgb(164, 43, 127); /* oklch */ color: oklch(50.5% 0.179 342.9);
Tailwind
colors: {
custom: {
50: '#c370a4',
500: '#a42b7f',
950: '#000000',
},
}SCSS
$custom: #a42b7f; $custom-light: #c370a4; $custom-dark: #000000;
JSON
{
"hex": "#a42b7f",
"rgb": {
"r": 164,
"g": 43,
"b": 127
},
"hsl": {
"h": 318.347,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.50503,
"c": 0.17861,
"h": 342.9
},
"luminance": 0.11153
}Semantic roles & 50–950 ramp
primary
#A42B7F
secondary
#6AC185
accent
#E27646
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F