#A42A5F#A42A5F
#A42A5F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.164 H 358.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A42A5F |
|---|---|
| RGB | rgb(164, 42, 95) |
| HSL | hsl(334, 59%, 40%) |
| HSV | hsv(334, 74%, 64%) |
| CMYK | cmyk(0%, 74.4%, 42.1%, 35.7%) |
| CIE-LAB | lab(38.51, 53.26, -1.55) |
| CIE-LCH | lch(38.51, 53.28, 358.33°) |
| OKLab | oklab(49.14% 0.1635 -0.0034) |
| OKLCH | oklch(49.14% 0.164 358.8) |
| XYZ | xyz(18.2047, 10.3770, 11.8686) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.63
Dark Fuchsia
#9D0759
ΔE00 4.24
Deep Magenta
#A0025C
ΔE00 4.24
Berry
#990F4B
ΔE00 5.06
Dark Magenta
#960056
ΔE00 5.69
Mulberry
#920A4E
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42A5F #2AA46F
analogous
#A42A9C #A42A5F #A4322A
triadic
#A42A5F #5FA42A #2A5FA4
tetradic
#A42A5F #9CA42A #2AA46F #322AA4
square
#A42A5F #9CA42A #2AA46F #322AA4
split-complementary
#A42A5F #2AA432 #2A9CA4
monochromatic
#431127 #731E43 #A42A5F #CD3E7C #DA6E9D
Accessibility & contrast
On white
6.83
#A42A5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#A42A5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42A5F
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42A5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42A5F | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444C60
Deuteranopia (green-blind)
#65635C
Tritanopia (blue-blind)
#B21841
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a42a5f; /* rgb */ color: rgb(164, 42, 95); /* oklch */ color: oklch(49.1% 0.164 358.8);
Tailwind
colors: {
custom: {
50: '#c46f8c',
500: '#a42a5f',
950: '#000000',
},
}SCSS
$custom: #a42a5f; $custom-light: #c46f8c; $custom-dark: #000000;
JSON
{
"hex": "#a42a5f",
"rgb": {
"r": 164,
"g": 42,
"b": 95
},
"hsl": {
"h": 333.934,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.49136,
"c": 0.16351,
"h": 358.8
},
"luminance": 0.10375
}Semantic roles & 50–950 ramp
primary
#A42A5F
secondary
#69C19B
accent
#E29E45
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D