#A42F5A#A42F5A
#A42F5A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.156 H 2.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F5A |
|---|---|
| RGB | rgb(164, 47, 90) |
| HSL | hsl(338, 55%, 41%) |
| HSV | hsv(338, 71%, 64%) |
| CMYK | cmyk(0%, 71.3%, 45.1%, 35.7%) |
| CIE-LAB | lab(39.01, 50.93, 2.35) |
| CIE-LCH | lch(39.01, 50.98, 2.64°) |
| OKLab | oklab(49.46% 0.1559 0.0066) |
| OKLCH | oklch(49.46% 0.156 2.4) |
| XYZ | xyz(18.1732, 10.6660, 10.7726) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.45
Light Burgundy
#A8415B
ΔE00 4.56
Purplish Red
#B0054B
ΔE00 4.90
Berry
#990F4B
ΔE00 5.07
Raspberry (survey)
#B00149
ΔE00 5.32
Dark Fuchsia
#9D0759
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F5A #2FA479
analogous
#A42F95 #A42F5A #A43F2F
triadic
#A42F5A #5AA42F #2F5AA4
tetradic
#A42F5A #95A42F #2FA479 #3F2FA4
square
#A42F5A #95A42F #2FA479 #3F2FA4
split-complementary
#A42F5A #2FA43F #2F95A4
monochromatic
#451426 #742140 #A42F5A #CA4677 #D8769A
Accessibility & contrast
On white
6.70
#A42F5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#A42F5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F5A
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F5A | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#686457
Tritanopia (blue-blind)
#B21D41
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #a42f5a; /* rgb */ color: rgb(164, 47, 90); /* oklch */ color: oklch(49.5% 0.156 2.4);
Tailwind
colors: {
custom: {
50: '#c47188',
500: '#a42f5a',
950: '#000000',
},
}SCSS
$custom: #a42f5a; $custom-light: #c47188; $custom-dark: #000000;
JSON
{
"hex": "#a42f5a",
"rgb": {
"r": 164,
"g": 47,
"b": 90
},
"hsl": {
"h": 337.949,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.49456,
"c": 0.15605,
"h": 2.4
},
"luminance": 0.10664
}Semantic roles & 50–950 ramp
primary
#A42F5A
secondary
#6FC0A2
accent
#DFA849
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#13080B
muted
#827B7C