#A51B4C#A51B4C
#A51B4C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.173 H 6.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A51B4C |
|---|---|
| RGB | rgb(165, 27, 76) |
| HSL | hsl(339, 72%, 38%) |
| HSV | hsv(339, 84%, 65%) |
| CMYK | cmyk(0%, 83.6%, 53.9%, 35.3%) |
| CIE-LAB | lab(36.57, 56.30, 7.84) |
| CIE-LCH | lch(36.57, 56.85, 7.92°) |
| OKLab | oklab(47.57% 0.1719 0.0202) |
| OKLCH | oklch(47.57% 0.173 6.7) |
| XYZ | xyz(17.2151, 9.3075, 7.7261) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.09
Raspberry (survey)
#B00149
ΔE00 2.31
Berry
#990F4B
ΔE00 3.54
Purple Red
#990147
ΔE00 3.76
Violet Red
#A50055
ΔE00 4.11
Cranberry
#9E003A
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51B4C #1BA574
analogous
#A51B91 #A51B4C #A52F1B
triadic
#A51B4C #4CA51B #1B4CA5
tetradic
#A51B4C #91A51B #1BA574 #2F1BA5
square
#A51B4C #91A51B #1BA574 #2F1BA5
split-complementary
#A51B4C #1BA52F #1B91A5
monochromatic
#3C0A1C #701234 #A51B4C #DA2464 #E35789
Accessibility & contrast
On white
7.34
#A51B4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#A51B4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51B4C
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51B4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51B4C | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454D
Deuteranopia (green-blind)
#656049
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51b4c; /* rgb */ color: rgb(165, 27, 76); /* oklch */ color: oklch(47.6% 0.173 6.7);
Tailwind
colors: {
custom: {
50: '#c6687d',
500: '#a51b4c',
950: '#000000',
},
}SCSS
$custom: #a51b4c; $custom-light: #c6687d; $custom-dark: #000000;
JSON
{
"hex": "#a51b4c",
"rgb": {
"r": 165,
"g": 27,
"b": 76
},
"hsl": {
"h": 338.696,
"s": 71.875,
"l": 37.647
},
"oklch": {
"l": 0.47565,
"c": 0.17309,
"h": 6.7
},
"luminance": 0.09305
}Semantic roles & 50–950 ramp
primary
#A51B4C
secondary
#55C79E
accent
#EFAE39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B