#A71F4D#A71F4D
#A71F4D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.172 H 7.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A71F4D |
|---|---|
| RGB | rgb(167, 31, 77) |
| HSL | hsl(340, 69%, 39%) |
| HSV | hsv(340, 81%, 65%) |
| CMYK | cmyk(0%, 81.4%, 53.9%, 34.5%) |
| CIE-LAB | lab(37.36, 55.89, 8.36) |
| CIE-LCH | lch(37.36, 56.51, 8.51°) |
| OKLab | oklab(48.23% 0.1705 0.0215) |
| OKLCH | oklch(48.23% 0.172 7.2) |
| XYZ | xyz(17.7676, 9.7339, 7.9630) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.92
Raspberry (survey)
#B00149
ΔE00 2.17
Berry
#990F4B
ΔE00 4.24
Purple Red
#990147
ΔE00 4.49
Violet Red
#A50055
ΔE00 4.61
Cranberry
#9E003A
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A71F4D #1FA779
analogous
#A71F91 #A71F4D #A7351F
triadic
#A71F4D #4DA71F #1F4DA7
tetradic
#A71F4D #91A71F #1FA779 #351FA7
square
#A71F4D #91A71F #1FA779 #351FA7
split-complementary
#A71F4D #1FA735 #1F91A7
monochromatic
#400C1D #731535 #A71F4D #D82B66 #E15F8B
Accessibility & contrast
On white
7.13
#A71F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A71F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A71F4D
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A71F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A71F4D | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#67624A
Tritanopia (blue-blind)
#B70034
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a71f4d; /* rgb */ color: rgb(167, 31, 77); /* oklch */ color: oklch(48.2% 0.172 7.2);
Tailwind
colors: {
custom: {
50: '#c86a7e',
500: '#a71f4d',
950: '#000000',
},
}SCSS
$custom: #a71f4d; $custom-light: #c86a7e; $custom-dark: #000000;
JSON
{
"hex": "#a71f4d",
"rgb": {
"r": 167,
"g": 31,
"b": 77
},
"hsl": {
"h": 339.706,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.48226,
"c": 0.17182,
"h": 7.2
},
"luminance": 0.09731
}Semantic roles & 50–950 ramp
primary
#A71F4D
secondary
#5CC6A2
accent
#ECB03C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B