#A51B52#A51B52
#A51B52 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 3.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A51B52 |
|---|---|
| RGB | rgb(165, 27, 82) |
| HSL | hsl(336, 72%, 38%) |
| HSV | hsv(336, 84%, 65%) |
| CMYK | cmyk(0%, 83.6%, 50.3%, 35.3%) |
| CIE-LAB | lab(36.73, 56.79, 4.20) |
| CIE-LCH | lch(36.73, 56.94, 4.23°) |
| OKLab | oklab(47.74% 0.1741 0.0113) |
| OKLCH | oklch(47.74% 0.174 3.7) |
| XYZ | xyz(17.4335, 9.3949, 8.8764) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.58
Berry
#990F4B
ΔE00 2.96
Purplish Red
#B0054B
ΔE00 3.16
Raspberry (survey)
#B00149
ΔE00 3.56
Purple Red
#990147
ΔE00 3.58
Dark Fuchsia
#9D0759
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51B52 #1BA56E
analogous
#A51B97 #A51B52 #A5291B
triadic
#A51B52 #52A51B #1B52A5
tetradic
#A51B52 #97A51B #1BA56E #291BA5
square
#A51B52 #97A51B #1BA56E #291BA5
split-complementary
#A51B52 #1BA529 #1B97A5
monochromatic
#3C0A1E #701238 #A51B52 #DA246C #E3578F
Accessibility & contrast
On white
7.30
#A51B52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A51B52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51B52
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51B52 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#B40035
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51b52; /* rgb */ color: rgb(165, 27, 82); /* oklch */ color: oklch(47.7% 0.174 3.7);
Tailwind
colors: {
custom: {
50: '#c66982',
500: '#a51b52',
950: '#000000',
},
}SCSS
$custom: #a51b52; $custom-light: #c66982; $custom-dark: #000000;
JSON
{
"hex": "#a51b52",
"rgb": {
"r": 165,
"g": 27,
"b": 82
},
"hsl": {
"h": 336.087,
"s": 71.875,
"l": 37.647
},
"oklch": {
"l": 0.47739,
"c": 0.17449,
"h": 3.7
},
"luminance": 0.09392
}Semantic roles & 50–950 ramp
primary
#A51B52
secondary
#55C799
accent
#EFA639
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C