#A51C42#A51C42
#A51C42 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 11.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A51C42 |
|---|---|
| RGB | rgb(165, 28, 66) |
| HSL | hsl(343, 71%, 38%) |
| HSV | hsv(343, 83%, 65%) |
| CMYK | cmyk(0%, 83%, 60%, 35.3%) |
| CIE-LAB | lab(36.42, 55.33, 14.08) |
| CIE-LCH | lch(36.42, 57.09, 14.28°) |
| OKLab | oklab(47.37% 0.1672 0.0349) |
| OKLCH | oklch(47.37% 0.171 11.8) |
| XYZ | xyz(16.9174, 9.2257, 6.0432) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.82
Raspberry (survey)
#B00149
ΔE00 2.98
Rouge
#AB1239
ΔE00 3.06
Purplish Red
#B0054B
ΔE00 3.29
Rose Red
#BE013C
ΔE00 5.52
Purple Red
#990147
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51C42 #1CA57F
analogous
#A51C86 #A51C42 #A53B1C
triadic
#A51C42 #42A51C #1C42A5
tetradic
#A51C42 #86A51C #1CA57F #3B1CA5
square
#A51C42 #86A51C #1CA57F #3B1CA5
split-complementary
#A51C42 #1CA53B #1C86A5
monochromatic
#3C0A18 #71132D #A51C42 #D92557 #E3597F
Accessibility & contrast
On white
7.38
#A51C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#A51C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51C42
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51C42 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#67603E
Tritanopia (blue-blind)
#B5002D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51c42; /* rgb */ color: rgb(165, 28, 66); /* oklch */ color: oklch(47.4% 0.171 11.8);
Tailwind
colors: {
custom: {
50: '#c76876',
500: '#a51c42',
950: '#000000',
},
}SCSS
$custom: #a51c42; $custom-light: #c76876; $custom-dark: #000000;
JSON
{
"hex": "#a51c42",
"rgb": {
"r": 165,
"g": 28,
"b": 66
},
"hsl": {
"h": 343.358,
"s": 70.984,
"l": 37.843
},
"oklch": {
"l": 0.47373,
"c": 0.17079,
"h": 11.8
},
"luminance": 0.09223
}Semantic roles & 50–950 ramp
primary
#A51C42
secondary
#56C6A7
accent
#EEBC3A
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B