#A71B42#A71B42
#A71B42 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.173 H 12.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A71B42 |
|---|---|
| RGB | rgb(167, 27, 66) |
| HSL | hsl(343, 72%, 38%) |
| HSV | hsv(343, 84%, 65%) |
| CMYK | cmyk(0%, 83.8%, 60.5%, 34.5%) |
| CIE-LAB | lab(36.73, 56.13, 14.58) |
| CIE-LCH | lch(36.73, 57.99, 14.56°) |
| OKLab | oklab(47.68% 0.1695 0.036) |
| OKLCH | oklch(47.68% 0.173 12) |
| XYZ | xyz(17.3135, 9.3953, 6.0550) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.82
Raspberry (survey)
#B00149
ΔE00 2.90
Cranberry
#9E003A
ΔE00 3.04
Purplish Red
#B0054B
ΔE00 3.23
Rose Red
#BE013C
ΔE00 5.14
Purple Red
#990147
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71B42 #1BA780
analogous
#A71B88 #A71B42 #A73A1B
triadic
#A71B42 #42A71B #1B42A7
tetradic
#A71B42 #88A71B #1BA780 #3A1BA7
square
#A71B42 #88A71B #1BA780 #3A1BA7
split-complementary
#A71B42 #1BA73A #1B88A7
monochromatic
#3E0A18 #72122D #A71B42 #DC2457 #E4587F
Accessibility & contrast
On white
7.30
#A71B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A71B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71B42
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71B42 | 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)
#454442
Deuteranopia (green-blind)
#68603E
Tritanopia (blue-blind)
#B7002D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71b42; /* rgb */ color: rgb(167, 27, 66); /* oklch */ color: oklch(47.7% 0.173 12.0);
Tailwind
colors: {
custom: {
50: '#c86976',
500: '#a71b42',
950: '#000000',
},
}SCSS
$custom: #a71b42; $custom-light: #c86976; $custom-dark: #000000;
JSON
{
"hex": "#a71b42",
"rgb": {
"r": 167,
"g": 27,
"b": 66
},
"hsl": {
"h": 343.286,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.4768,
"c": 0.17329,
"h": 12
},
"luminance": 0.09393
}Semantic roles & 50–950 ramp
primary
#A71B42
secondary
#56C8A8
accent
#EFBC39
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B