#A71F42#A71F42
#A71F42 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.170 H 12.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F42 |
|---|---|
| RGB | rgb(167, 31, 66) |
| HSL | hsl(345, 69%, 39%) |
| HSV | hsv(345, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 60.5%, 34.5%) |
| CIE-LAB | lab(37.10, 55.09, 15.07) |
| CIE-LCH | lch(37.10, 57.12, 15.30°) |
| OKLab | oklab(47.95% 0.1662 0.0372) |
| OKLCH | oklch(47.95% 0.17 12.6) |
| XYZ | xyz(17.4115, 9.5914, 6.0877) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.59
Raspberry (survey)
#B00149
ΔE00 3.31
Cranberry
#9E003A
ΔE00 3.43
Purplish Red
#B0054B
ΔE00 3.63
Rose Red
#BE013C
ΔE00 4.89
Ruby
#CA0147
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F42 #1FA784
analogous
#A71F86 #A71F42 #A7401F
triadic
#A71F42 #42A71F #1F42A7
tetradic
#A71F42 #86A71F #1FA784 #401FA7
square
#A71F42 #86A71F #1FA784 #401FA7
split-complementary
#A71F42 #1FA740 #1F86A7
monochromatic
#400C19 #73152E #A71F42 #D82B58 #E15F81
Accessibility & contrast
On white
7.20
#A71F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A71F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F42
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F42 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464642
Deuteranopia (green-blind)
#69613E
Tritanopia (blue-blind)
#B7002E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a71f42; /* rgb */ color: rgb(167, 31, 66); /* oklch */ color: oklch(47.9% 0.170 12.6);
Tailwind
colors: {
custom: {
50: '#c86a76',
500: '#a71f42',
950: '#000000',
},
}SCSS
$custom: #a71f42; $custom-light: #c86a76; $custom-dark: #000000;
JSON
{
"hex": "#a71f42",
"rgb": {
"r": 167,
"g": 31,
"b": 66
},
"hsl": {
"h": 344.559,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.47948,
"c": 0.17027,
"h": 12.6
},
"luminance": 0.09589
}Semantic roles & 50–950 ramp
primary
#A71F42
secondary
#5CC6AB
accent
#ECBE3C
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B