#A51F57#A51F57
#A51F57 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.173 H 1.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A51F57 |
|---|---|
| RGB | rgb(165, 31, 87) |
| HSL | hsl(335, 68%, 38%) |
| HSV | hsv(335, 81%, 65%) |
| CMYK | cmyk(0%, 81.2%, 47.3%, 35.3%) |
| CIE-LAB | lab(37.24, 56.19, 1.72) |
| CIE-LCH | lch(37.24, 56.21, 1.75°) |
| OKLab | oklab(48.16% 0.1726 0.005) |
| OKLCH | oklch(48.16% 0.173 1.7) |
| XYZ | xyz(17.7288, 9.6699, 9.9479) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.27
Berry
#990F4B
ΔE00 3.44
Dark Fuchsia
#9D0759
ΔE00 3.93
Deep Magenta
#A0025C
ΔE00 4.14
Purplish Red
#B0054B
ΔE00 4.22
Purple Red
#990147
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51F57 #1FA56D
analogous
#A51F9A #A51F57 #A52A1F
triadic
#A51F57 #57A51F #1F57A5
tetradic
#A51F57 #9AA51F #1FA56D #2A1FA5
square
#A51F57 #9AA51F #1FA56D #2A1FA5
split-complementary
#A51F57 #1FA52A #1F9AA5
monochromatic
#3E0C21 #71153C #A51F57 #D72A72 #E15E94
Accessibility & contrast
On white
7.16
#A51F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#A51F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51F57
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51F57 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#B40038
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a51f57; /* rgb */ color: rgb(165, 31, 87); /* oklch */ color: oklch(48.2% 0.173 1.7);
Tailwind
colors: {
custom: {
50: '#c56a86',
500: '#a51f57',
950: '#000000',
},
}SCSS
$custom: #a51f57; $custom-light: #c56a86; $custom-dark: #000000;
JSON
{
"hex": "#a51f57",
"rgb": {
"r": 165,
"g": 31,
"b": 87
},
"hsl": {
"h": 334.925,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.4816,
"c": 0.17263,
"h": 1.7
},
"luminance": 0.09667
}Semantic roles & 50–950 ramp
primary
#A51F57
secondary
#5BC599
accent
#EBA23D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C