#A42F76#A42F76
#A42F76 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.168 H 347.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F76 |
|---|---|
| RGB | rgb(164, 47, 118) |
| HSL | hsl(324, 55%, 41%) |
| HSV | hsv(324, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 28%, 35.7%) |
| CIE-LAB | lab(39.97, 54.12, -13.81) |
| CIE-LCH | lch(39.97, 55.85, 345.68°) |
| OKLab | oklab(50.48% 0.1644 -0.0364) |
| OKLCH | oklch(50.48% 0.168 347.5) |
| XYZ | xyz(19.5973, 11.2357, 18.2727) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.05
Magenta (survey)
#C20078
ΔE00 5.39
Mediumvioletred
#C71585
ΔE00 6.22
Deep Magenta
#A0025C
ΔE00 6.30
Dark Fuchsia
#9D0759
ΔE00 6.78
Dark Magenta
#960056
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F76 #2FA45D
analogous
#982FA4 #A42F76 #A42F3C
triadic
#A42F76 #76A42F #2F76A4
tetradic
#A42F76 #A4982F #2FA45D #2F3CA4
square
#A42F76 #A4982F #2FA45D #2F3CA4
split-complementary
#A42F76 #3CA42F #2FA498
monochromatic
#451432 #742154 #A42F76 #CA4696 #D876B1
Accessibility & contrast
On white
6.47
#A42F76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#A42F76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F76
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F76 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F5178
Deuteranopia (green-blind)
#616673
Tritanopia (blue-blind)
#B02B4E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #a42f76; /* rgb */ color: rgb(164, 47, 118); /* oklch */ color: oklch(50.5% 0.168 347.5);
Tailwind
colors: {
custom: {
50: '#c3719d',
500: '#a42f76',
950: '#000000',
},
}SCSS
$custom: #a42f76; $custom-light: #c3719d; $custom-dark: #000000;
JSON
{
"hex": "#a42f76",
"rgb": {
"r": 164,
"g": 47,
"b": 118
},
"hsl": {
"h": 323.59,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.50479,
"c": 0.1684,
"h": 347.5
},
"luminance": 0.11234
}Semantic roles & 50–950 ramp
primary
#A42F76
secondary
#6FC08F
accent
#DF8449
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E