#A51C40#A51C40
#A51C40 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.171 H 12.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A51C40 |
|---|---|
| RGB | rgb(165, 28, 64) |
| HSL | hsl(344, 71%, 38%) |
| HSV | hsv(344, 83%, 65%) |
| CMYK | cmyk(0%, 83%, 61.2%, 35.3%) |
| CIE-LAB | lab(36.37, 55.20, 15.31) |
| CIE-LCH | lch(36.37, 57.28, 15.51°) |
| OKLab | oklab(47.33% 0.1664 0.0377) |
| OKLCH | oklch(47.33% 0.171 12.7) |
| XYZ | xyz(16.8595, 9.2026, 5.7380) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.47
Cranberry
#9E003A
ΔE00 2.86
Raspberry (survey)
#B00149
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.82
Rose Red
#BE013C
ΔE00 5.16
Red Wine
#8C0034
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51C40 #1CA581
analogous
#A51C84 #A51C40 #A53D1C
triadic
#A51C40 #40A51C #1C40A5
tetradic
#A51C40 #84A51C #1CA581 #3D1CA5
square
#A51C40 #84A51C #1CA581 #3D1CA5
split-complementary
#A51C40 #1CA53D #1C84A5
monochromatic
#3C0A17 #71132C #A51C40 #D92554 #E3597D
Accessibility & contrast
On white
7.39
#A51C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#A51C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51C40
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51C40 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#B5002C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51c40; /* rgb */ color: rgb(165, 28, 64); /* oklch */ color: oklch(47.3% 0.171 12.7);
Tailwind
colors: {
custom: {
50: '#c76874',
500: '#a51c40',
950: '#000000',
},
}SCSS
$custom: #a51c40; $custom-light: #c76874; $custom-dark: #000000;
JSON
{
"hex": "#a51c40",
"rgb": {
"r": 165,
"g": 28,
"b": 64
},
"hsl": {
"h": 344.234,
"s": 70.984,
"l": 37.843
},
"oklch": {
"l": 0.47326,
"c": 0.1706,
"h": 12.7
},
"luminance": 0.092
}Semantic roles & 50–950 ramp
primary
#A51C40
secondary
#56C6A9
accent
#EEBF3A
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B