#A52146#A52146
#A52146 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.167 H 10.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A52146 |
|---|---|
| RGB | rgb(165, 33, 70) |
| HSL | hsl(343, 67%, 39%) |
| HSV | hsv(343, 80%, 65%) |
| CMYK | cmyk(0%, 80%, 57.6%, 35.3%) |
| CIE-LAB | lab(36.99, 54.24, 12.29) |
| CIE-LCH | lch(36.99, 55.61, 12.76°) |
| OKLab | oklab(47.83% 0.1644 0.0308) |
| OKLCH | oklch(47.83% 0.167 10.6) |
| XYZ | xyz(17.1681, 9.5318, 6.7290) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.67
Purplish Red
#B0054B
ΔE00 2.84
Cranberry
#9E003A
ΔE00 3.47
Rouge
#AB1239
ΔE00 3.94
Purple Red
#990147
ΔE00 5.50
Berry
#990F4B
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52146 #21A580
analogous
#A52188 #A52146 #A53E21
triadic
#A52146 #46A521 #2146A5
tetradic
#A52146 #88A521 #21A580 #3E21A5
square
#A52146 #88A521 #21A580 #3E21A5
split-complementary
#A52146 #21A53E #2188A5
monochromatic
#3F0D1B #721730 #A52146 #D52E5D #DF6184
Accessibility & contrast
On white
7.23
#A52146 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A52146 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A52146
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52146 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52146 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464647
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#B50031
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a52146; /* rgb */ color: rgb(165, 33, 70); /* oklch */ color: oklch(47.8% 0.167 10.6);
Tailwind
colors: {
custom: {
50: '#c66a79',
500: '#a52146',
950: '#000000',
},
}SCSS
$custom: #a52146; $custom-light: #c66a79; $custom-dark: #000000;
JSON
{
"hex": "#a52146",
"rgb": {
"r": 165,
"g": 33,
"b": 70
},
"hsl": {
"h": 343.182,
"s": 66.667,
"l": 38.824
},
"oklch": {
"l": 0.47825,
"c": 0.16721,
"h": 10.6
},
"luminance": 0.09529
}Semantic roles & 50–950 ramp
primary
#A52146
secondary
#5EC4A7
accent
#EABA3E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B