#A71C40#A71C40
#A71C40 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.172 H 13.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A71C40 |
|---|---|
| RGB | rgb(167, 28, 64) |
| HSL | hsl(344, 71%, 38%) |
| HSV | hsv(344, 83%, 65%) |
| CMYK | cmyk(0%, 83.2%, 61.7%, 34.5%) |
| CIE-LAB | lab(36.78, 55.75, 15.93) |
| CIE-LCH | lch(36.78, 57.98, 15.94°) |
| OKLab | oklab(47.7% 0.1679 0.0391) |
| OKLCH | oklch(47.7% 0.172 13.1) |
| XYZ | xyz(17.2788, 9.4188, 5.7577) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.15
Cranberry
#9E003A
ΔE00 3.22
Raspberry (survey)
#B00149
ΔE00 3.53
Purplish Red
#B0054B
ΔE00 3.89
Rose Red
#BE013C
ΔE00 4.72
Ruby
#CA0147
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71C40 #1CA783
analogous
#A71C85 #A71C40 #A73D1C
triadic
#A71C40 #40A71C #1C40A7
tetradic
#A71C40 #85A71C #1CA783 #3D1CA7
square
#A71C40 #85A71C #1CA783 #3D1CA7
split-complementary
#A71C40 #1CA73D #1C85A7
monochromatic
#3E0A18 #73132C #A71C40 #DB2654 #E35A7E
Accessibility & contrast
On white
7.28
#A71C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#A71C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71C40
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71C40 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464440
Deuteranopia (green-blind)
#69613C
Tritanopia (blue-blind)
#B7002C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a71c40; /* rgb */ color: rgb(167, 28, 64); /* oklch */ color: oklch(47.7% 0.172 13.1);
Tailwind
colors: {
custom: {
50: '#c86974',
500: '#a71c40',
950: '#000000',
},
}SCSS
$custom: #a71c40; $custom-light: #c86974; $custom-dark: #000000;
JSON
{
"hex": "#a71c40",
"rgb": {
"r": 167,
"g": 28,
"b": 64
},
"hsl": {
"h": 344.46,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.47698,
"c": 0.17239,
"h": 13.1
},
"luminance": 0.09416
}Semantic roles & 50–950 ramp
primary
#A71C40
secondary
#58C7AA
accent
#EEBF3A
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B