#A71B47#A71B47
#A71B47 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.174 H 9.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A71B47 |
|---|---|
| RGB | rgb(167, 27, 71) |
| HSL | hsl(341, 72%, 38%) |
| HSV | hsv(341, 84%, 65%) |
| CMYK | cmyk(0%, 83.8%, 57.5%, 34.5%) |
| CIE-LAB | lab(36.85, 56.47, 11.52) |
| CIE-LCH | lch(36.85, 57.63, 11.53°) |
| OKLab | oklab(47.8% 0.1715 0.029) |
| OKLCH | oklch(47.8% 0.174 9.6) |
| XYZ | xyz(17.4674, 9.4569, 6.8656) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 1.89
Purplish Red
#B0054B
ΔE00 2.05
Cranberry
#9E003A
ΔE00 3.43
Rouge
#AB1239
ΔE00 4.37
Purple Red
#990147
ΔE00 4.97
Berry
#990F4B
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71B47 #1BA77B
analogous
#A71B8D #A71B47 #A7351B
triadic
#A71B47 #47A71B #1B47A7
tetradic
#A71B47 #8DA71B #1BA77B #351BA7
square
#A71B47 #8DA71B #1BA77B #351BA7
split-complementary
#A71B47 #1BA735 #1B8DA7
monochromatic
#3E0A1A #721231 #A71B47 #DC245D #E45884
Accessibility & contrast
On white
7.26
#A71B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#A71B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71B47
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71B47 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#676143
Tritanopia (blue-blind)
#B7002F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a71b47; /* rgb */ color: rgb(167, 27, 71); /* oklch */ color: oklch(47.8% 0.174 9.6);
Tailwind
colors: {
custom: {
50: '#c86979',
500: '#a71b47',
950: '#000000',
},
}SCSS
$custom: #a71b47; $custom-light: #c86979; $custom-dark: #000000;
JSON
{
"hex": "#a71b47",
"rgb": {
"r": 167,
"g": 27,
"b": 71
},
"hsl": {
"h": 341.143,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.47802,
"c": 0.17392,
"h": 9.6
},
"luminance": 0.09454
}Semantic roles & 50–950 ramp
primary
#A71B47
secondary
#56C8A4
accent
#EFB639
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B