#A42E52#A42E52
#A42E52 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.1% C 0.155 H 6.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A42E52 |
|---|---|
| RGB | rgb(164, 46, 82) |
| HSL | hsl(342, 56%, 41%) |
| HSV | hsv(342, 72%, 64%) |
| CMYK | cmyk(0%, 72%, 50%, 35.7%) |
| CIE-LAB | lab(38.65, 50.55, 6.91) |
| CIE-LCH | lch(38.65, 51.02, 7.78°) |
| OKLab | oklab(49.12% 0.1542 0.018) |
| OKLCH | oklch(49.12% 0.155 6.7) |
| XYZ | xyz(17.8113, 10.4581, 9.0617) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 3.94
Light Burgundy
#A8415B
ΔE00 3.95
Berry
#990F4B
ΔE00 5.18
Violet Red
#A50055
ΔE00 5.43
Purple Red
#990147
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42E52 #2EA480
analogous
#A42E8D #A42E52 #A4452E
triadic
#A42E52 #52A42E #2E52A4
tetradic
#A42E52 #8DA42E #2EA480 #452EA4
square
#A42E52 #8DA42E #2EA480 #452EA4
split-complementary
#A42E52 #2EA445 #2E8DA4
monochromatic
#441322 #74213A #A42E52 #CB456D #D87493
Accessibility & contrast
On white
6.79
#A42E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#A42E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42E52
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42E52 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#69644F
Tritanopia (blue-blind)
#B3173D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a42e52; /* rgb */ color: rgb(164, 46, 82); /* oklch */ color: oklch(49.1% 0.155 6.7);
Tailwind
colors: {
custom: {
50: '#c47082',
500: '#a42e52',
950: '#000000',
},
}SCSS
$custom: #a42e52; $custom-light: #c47082; $custom-dark: #000000;
JSON
{
"hex": "#a42e52",
"rgb": {
"r": 164,
"g": 46,
"b": 82
},
"hsl": {
"h": 341.695,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.49117,
"c": 0.1552,
"h": 6.7
},
"luminance": 0.10456
}Semantic roles & 50–950 ramp
primary
#A42E52
secondary
#6EC0A7
accent
#DFB148
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C