#A42B5A#A42B5A
#A42B5A is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.161 H 1.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B5A |
|---|---|
| RGB | rgb(164, 43, 90) |
| HSL | hsl(337, 58%, 41%) |
| HSV | hsv(337, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 45.1%, 35.7%) |
| CIE-LAB | lab(38.48, 52.40, 1.58) |
| CIE-LCH | lch(38.48, 52.43, 1.73°) |
| OKLab | oklab(49.07% 0.1606 0.0047) |
| OKLCH | oklch(49.07% 0.161 1.7) |
| XYZ | xyz(18.0206, 10.3608, 10.7218) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.74
Berry
#990F4B
ΔE00 4.58
Purplish Red
#B0054B
ΔE00 4.84
Dark Fuchsia
#9D0759
ΔE00 4.98
Deep Magenta
#A0025C
ΔE00 5.15
Raspberry (survey)
#B00149
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B5A #2BA475
analogous
#A42B96 #A42B5A #A4382B
triadic
#A42B5A #5AA42B #2B5AA4
tetradic
#A42B5A #96A42B #2BA475 #382BA4
square
#A42B5A #96A42B #2BA475 #382BA4
split-complementary
#A42B5A #2BA438 #2B96A4
monochromatic
#431225 #741E3F #A42B5A #CD3F76 #D97099
Accessibility & contrast
On white
6.84
#A42B5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#A42B5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B5A
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B5A | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B2173F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a42b5a; /* rgb */ color: rgb(164, 43, 90); /* oklch */ color: oklch(49.1% 0.161 1.7);
Tailwind
colors: {
custom: {
50: '#c46f88',
500: '#a42b5a',
950: '#000000',
},
}SCSS
$custom: #a42b5a; $custom-light: #c46f88; $custom-dark: #000000;
JSON
{
"hex": "#a42b5a",
"rgb": {
"r": 164,
"g": 43,
"b": 90
},
"hsl": {
"h": 336.694,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.49065,
"c": 0.1607,
"h": 1.7
},
"luminance": 0.10358
}Semantic roles & 50–950 ramp
primary
#A42B5A
secondary
#6AC19F
accent
#E2A546
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C