#A51E52#A51E52
#A51E52 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.172 H 4.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A51E52 |
|---|---|
| RGB | rgb(165, 30, 82) |
| HSL | hsl(337, 69%, 38%) |
| HSV | hsv(337, 82%, 65%) |
| CMYK | cmyk(0%, 81.8%, 50.3%, 35.3%) |
| CIE-LAB | lab(37.00, 56.02, 4.59) |
| CIE-LCH | lch(37.00, 56.21, 4.68°) |
| OKLab | oklab(47.94% 0.1717 0.0122) |
| OKLCH | oklch(47.94% 0.172 4.1) |
| XYZ | xyz(17.5059, 9.5395, 8.9005) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.94
Purplish Red
#B0054B
ΔE00 3.06
Berry
#990F4B
ΔE00 3.20
Raspberry (survey)
#B00149
ΔE00 3.46
Purple Red
#990147
ΔE00 3.81
Dark Fuchsia
#9D0759
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51E52 #1EA571
analogous
#A51E95 #A51E52 #A52D1E
triadic
#A51E52 #52A51E #1E52A5
tetradic
#A51E52 #95A51E #1EA571 #2D1EA5
square
#A51E52 #95A51E #1EA571 #2D1EA5
split-complementary
#A51E52 #1EA52D #1E95A5
monochromatic
#3D0B1F #711538 #A51E52 #D8286C #E15C8F
Accessibility & contrast
On white
7.22
#A51E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A51E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51E52
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51E52 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a51e52; /* rgb */ color: rgb(165, 30, 82); /* oklch */ color: oklch(47.9% 0.172 4.1);
Tailwind
colors: {
custom: {
50: '#c66a82',
500: '#a51e52',
950: '#000000',
},
}SCSS
$custom: #a51e52; $custom-light: #c66a82; $custom-dark: #000000;
JSON
{
"hex": "#a51e52",
"rgb": {
"r": 165,
"g": 30,
"b": 82
},
"hsl": {
"h": 336.889,
"s": 69.231,
"l": 38.235
},
"oklch": {
"l": 0.47936,
"c": 0.17209,
"h": 4.1
},
"luminance": 0.09537
}Semantic roles & 50–950 ramp
primary
#A51E52
secondary
#59C59C
accent
#ECA83C
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C