#A51E56#A51E56
#A51E56 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 2.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A51E56 |
|---|---|
| RGB | rgb(165, 30, 86) |
| HSL | hsl(335, 69%, 38%) |
| HSV | hsv(335, 82%, 65%) |
| CMYK | cmyk(0%, 81.8%, 47.9%, 35.3%) |
| CIE-LAB | lab(37.12, 56.37, 2.18) |
| CIE-LCH | lch(37.12, 56.41, 2.22°) |
| OKLab | oklab(48.06% 0.1731 0.0062) |
| OKLCH | oklch(48.06% 0.173 2.1) |
| XYZ | xyz(17.6625, 9.6022, 9.7256) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.25
Berry
#990F4B
ΔE00 3.30
Purplish Red
#B0054B
ΔE00 4.01
Dark Fuchsia
#9D0759
ΔE00 4.02
Purple Red
#990147
ΔE00 4.09
Deep Magenta
#A0025C
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51E56 #1EA56D
analogous
#A51E99 #A51E56 #A5291E
triadic
#A51E56 #56A51E #1E56A5
tetradic
#A51E56 #99A51E #1EA56D #291EA5
square
#A51E56 #99A51E #1EA56D #291EA5
split-complementary
#A51E56 #1EA529 #1E99A5
monochromatic
#3D0B20 #71153B #A51E56 #D82871 #E15C93
Accessibility & contrast
On white
7.19
#A51E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A51E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51E56
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51E56 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404757
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#B40038
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a51e56; /* rgb */ color: rgb(165, 30, 86); /* oklch */ color: oklch(48.1% 0.173 2.1);
Tailwind
colors: {
custom: {
50: '#c66a85',
500: '#a51e56',
950: '#000000',
},
}SCSS
$custom: #a51e56; $custom-light: #c66a85; $custom-dark: #000000;
JSON
{
"hex": "#a51e56",
"rgb": {
"r": 165,
"g": 30,
"b": 86
},
"hsl": {
"h": 335.111,
"s": 69.231,
"l": 38.235
},
"oklch": {
"l": 0.48059,
"c": 0.17319,
"h": 2.1
},
"luminance": 0.096
}Semantic roles & 50–950 ramp
primary
#A51E56
secondary
#59C599
accent
#ECA33C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C