#A51E54#A51E54
#A51E54 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 3.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A51E54 |
|---|---|
| RGB | rgb(165, 30, 84) |
| HSL | hsl(336, 69%, 38%) |
| HSV | hsv(336, 82%, 65%) |
| CMYK | cmyk(0%, 81.8%, 49.1%, 35.3%) |
| CIE-LAB | lab(37.06, 56.19, 3.38) |
| CIE-LCH | lch(37.06, 56.29, 3.44°) |
| OKLab | oklab(48% 0.1724 0.0092) |
| OKLCH | oklch(48% 0.173 3.1) |
| XYZ | xyz(17.5831, 9.5704, 9.3072) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.55
Berry
#990F4B
ΔE00 3.19
Purplish Red
#B0054B
ΔE00 3.52
Purple Red
#990147
ΔE00 3.91
Raspberry (survey)
#B00149
ΔE00 3.94
Dark Fuchsia
#9D0759
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51E54 #1EA56F
analogous
#A51E97 #A51E54 #A52B1E
triadic
#A51E54 #54A51E #1E54A5
tetradic
#A51E54 #97A51E #1EA56F #2B1EA5
square
#A51E54 #97A51E #1EA56F #2B1EA5
split-complementary
#A51E54 #1EA52B #1E97A5
monochromatic
#3D0B1F #71153A #A51E54 #D8286F #E15C91
Accessibility & contrast
On white
7.21
#A51E54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A51E54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51E54
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51E54 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414655
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a51e54; /* rgb */ color: rgb(165, 30, 84); /* oklch */ color: oklch(48.0% 0.173 3.1);
Tailwind
colors: {
custom: {
50: '#c66a83',
500: '#a51e54',
950: '#000000',
},
}SCSS
$custom: #a51e54; $custom-light: #c66a83; $custom-dark: #000000;
JSON
{
"hex": "#a51e54",
"rgb": {
"r": 165,
"g": 30,
"b": 84
},
"hsl": {
"h": 336,
"s": 69.231,
"l": 38.235
},
"oklch": {
"l": 0.47997,
"c": 0.17262,
"h": 3.1
},
"luminance": 0.09568
}Semantic roles & 50–950 ramp
primary
#A51E54
secondary
#59C59A
accent
#ECA63C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070A
muted
#827A7C