#A51A4A#A51A4A
#A51A4A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 7.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A51A4A |
|---|---|
| RGB | rgb(165, 26, 74) |
| HSL | hsl(339, 73%, 37%) |
| HSV | hsv(339, 84%, 65%) |
| CMYK | cmyk(0%, 84.2%, 55.2%, 35.3%) |
| CIE-LAB | lab(36.43, 56.39, 8.94) |
| CIE-LCH | lch(36.43, 57.10, 9.01°) |
| OKLab | oklab(47.45% 0.1719 0.0229) |
| OKLCH | oklch(47.45% 0.173 7.6) |
| XYZ | xyz(17.1241, 9.2351, 7.3581) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.97
Raspberry (survey)
#B00149
ΔE00 2.08
Berry
#990F4B
ΔE00 3.82
Cranberry
#9E003A
ΔE00 3.88
Purple Red
#990147
ΔE00 3.91
Violet Red
#A50055
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51A4A #1AA575
analogous
#A51A8F #A51A4A #A5301A
triadic
#A51A4A #4AA51A #1A4AA5
tetradic
#A51A4A #8FA51A #1AA575 #301AA5
square
#A51A4A #8FA51A #1AA575 #301AA5
split-complementary
#A51A4A #1AA530 #1A8FA5
monochromatic
#3B091B #701232 #A51A4A #DA2262 #E45587
Accessibility & contrast
On white
7.38
#A51A4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#A51A4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51A4A
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51A4A | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42444B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#B50030
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51a4a; /* rgb */ color: rgb(165, 26, 74); /* oklch */ color: oklch(47.4% 0.173 7.6);
Tailwind
colors: {
custom: {
50: '#c6687c',
500: '#a51a4a',
950: '#000000',
},
}SCSS
$custom: #a51a4a; $custom-light: #c6687c; $custom-dark: #000000;
JSON
{
"hex": "#a51a4a",
"rgb": {
"r": 165,
"g": 26,
"b": 74
},
"hsl": {
"h": 339.281,
"s": 72.775,
"l": 37.451
},
"oklch": {
"l": 0.47448,
"c": 0.17344,
"h": 7.6
},
"luminance": 0.09233
}Semantic roles & 50–950 ramp
primary
#A51A4A
secondary
#54C79F
accent
#EFB038
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B