#A42C7D#A42C7D
#A42C7D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.176 H 343.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A42C7D |
|---|---|
| RGB | rgb(164, 44, 125) |
| HSL | hsl(320, 58%, 41%) |
| HSV | hsv(320, 73%, 64%) |
| CMYK | cmyk(0%, 73.2%, 23.8%, 35.7%) |
| CIE-LAB | lab(39.88, 56.12, -18.30) |
| CIE-LCH | lch(39.88, 59.03, 341.94°) |
| OKLab | oklab(50.5% 0.1693 -0.0488) |
| OKLCH | oklch(50.5% 0.176 343.9) |
| XYZ | xyz(19.9129, 11.1766, 20.5067) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.33
Magenta (survey)
#C20078
ΔE00 5.98
Warm Purple
#952E8F
ΔE00 6.02
Mediumvioletred
#C71585
ΔE00 6.28
Light Eggplant
#894585
ΔE00 7.11
Deep Magenta
#A0025C
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42C7D #2CA453
analogous
#8F2CA4 #A42C7D #A42C41
triadic
#A42C7D #7DA42C #2C7DA4
tetradic
#A42C7D #A48F2C #2CA453 #2C41A4
square
#A42C7D #A48F2C #2CA453 #2C41A4
split-complementary
#A42C7D #41A42C #2CA48F
monochromatic
#431233 #741F58 #A42C7D #CC419F #D971B7
Accessibility & contrast
On white
6.49
#A42C7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#A42C7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42C7D
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42C7D | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#AF2B51
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #a42c7d; /* rgb */ color: rgb(164, 44, 125); /* oklch */ color: oklch(50.5% 0.176 343.9);
Tailwind
colors: {
custom: {
50: '#c370a2',
500: '#a42c7d',
950: '#000000',
},
}SCSS
$custom: #a42c7d; $custom-light: #c370a2; $custom-dark: #000000;
JSON
{
"hex": "#a42c7d",
"rgb": {
"r": 164,
"g": 44,
"b": 125
},
"hsl": {
"h": 319.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.50501,
"c": 0.1762,
"h": 343.9
},
"luminance": 0.11175
}Semantic roles & 50–950 ramp
primary
#A42C7D
secondary
#6BC087
accent
#E17947
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F