#A51F51#A51F51
#A51F51 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.171 H 4.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A51F51 |
|---|---|
| RGB | rgb(165, 31, 81) |
| HSL | hsl(338, 68%, 38%) |
| HSV | hsv(338, 81%, 65%) |
| CMYK | cmyk(0%, 81.2%, 50.9%, 35.3%) |
| CIE-LAB | lab(37.07, 55.66, 5.32) |
| CIE-LCH | lch(37.07, 55.92, 5.46°) |
| OKLab | oklab(47.98% 0.1704 0.0141) |
| OKLCH | oklch(47.98% 0.171 4.7) |
| XYZ | xyz(17.4938, 9.5759, 8.7101) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.83
Raspberry (survey)
#B00149
ΔE00 3.21
Violet Red
#A50055
ΔE00 3.30
Berry
#990F4B
ΔE00 3.34
Purple Red
#990147
ΔE00 3.89
Dark Fuchsia
#9D0759
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51F51 #1FA573
analogous
#A51F94 #A51F51 #A5301F
triadic
#A51F51 #51A51F #1F51A5
tetradic
#A51F51 #94A51F #1FA573 #301FA5
square
#A51F51 #94A51F #1FA573 #301FA5
split-complementary
#A51F51 #1FA530 #1F94A5
monochromatic
#3E0C1E #711538 #A51F51 #D72A6B #E15E8F
Accessibility & contrast
On white
7.21
#A51F51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#A51F51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51F51
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51F51 | 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)
#424652
Deuteranopia (green-blind)
#65614E
Tritanopia (blue-blind)
#B40036
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a51f51; /* rgb */ color: rgb(165, 31, 81); /* oklch */ color: oklch(48.0% 0.171 4.7);
Tailwind
colors: {
custom: {
50: '#c66a81',
500: '#a51f51',
950: '#000000',
},
}SCSS
$custom: #a51f51; $custom-light: #c66a81; $custom-dark: #000000;
JSON
{
"hex": "#a51f51",
"rgb": {
"r": 165,
"g": 31,
"b": 81
},
"hsl": {
"h": 337.612,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.47977,
"c": 0.17099,
"h": 4.7
},
"luminance": 0.09573
}Semantic roles & 50–950 ramp
primary
#A51F51
secondary
#5BC59D
accent
#EBAA3D
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C