#A52851#A52851
#A52851 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.162 H 6.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A52851 |
|---|---|
| RGB | rgb(165, 40, 81) |
| HSL | hsl(340, 61%, 40%) |
| HSV | hsv(340, 76%, 65%) |
| CMYK | cmyk(0%, 75.8%, 50.9%, 35.3%) |
| CIE-LAB | lab(38.05, 52.91, 6.71) |
| CIE-LCH | lch(38.05, 53.33, 7.23°) |
| OKLab | oklab(48.69% 0.1615 0.0175) |
| OKLCH | oklch(48.69% 0.162 6.2) |
| XYZ | xyz(17.7626, 10.1134, 8.7997) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.00
Raspberry (survey)
#B00149
ΔE00 3.31
Berry
#990F4B
ΔE00 4.47
Violet Red
#A50055
ΔE00 4.66
Light Burgundy
#A8415B
ΔE00 4.78
Purple Red
#990147
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A52851 #28A57C
analogous
#A5288F #A52851 #A53D28
triadic
#A52851 #51A528 #2851A5
tetradic
#A52851 #8FA528 #28A57C #3D28A5
square
#A52851 #8FA528 #28A57C #3D28A5
split-complementary
#A52851 #28A53D #288FA5
monochromatic
#421021 #741C39 #A52851 #CF3B6C #DB6C91
Accessibility & contrast
On white
6.95
#A52851 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#A52851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A52851
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A52851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A52851 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474A52
Deuteranopia (green-blind)
#68634E
Tritanopia (blue-blind)
#B40839
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a52851; /* rgb */ color: rgb(165, 40, 81); /* oklch */ color: oklch(48.7% 0.162 6.2);
Tailwind
colors: {
custom: {
50: '#c56d81',
500: '#a52851',
950: '#000000',
},
}SCSS
$custom: #a52851; $custom-light: #c56d81; $custom-dark: #000000;
JSON
{
"hex": "#a52851",
"rgb": {
"r": 165,
"g": 40,
"b": 81
},
"hsl": {
"h": 340.32,
"s": 60.976,
"l": 40.196
},
"oklch": {
"l": 0.48694,
"c": 0.16248,
"h": 6.2
},
"luminance": 0.10111
}Semantic roles & 50–950 ramp
primary
#A52851
secondary
#67C2A4
accent
#E4AF44
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#14080A
muted
#827B7C