#A81F52#A81F52
#A81F52 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.174 H 4.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F52 |
|---|---|
| RGB | rgb(168, 31, 82) |
| HSL | hsl(338, 69%, 39%) |
| HSV | hsv(338, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 51.2%, 34.1%) |
| CIE-LAB | lab(37.69, 56.56, 5.65) |
| CIE-LCH | lch(37.69, 56.85, 5.70°) |
| OKLab | oklab(48.55% 0.1731 0.0149) |
| OKLCH | oklch(48.55% 0.174 4.9) |
| XYZ | xyz(18.1631, 9.9166, 8.9387) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.54
Raspberry (survey)
#B00149
ΔE00 2.96
Violet Red
#A50055
ΔE00 3.55
Berry
#990F4B
ΔE00 3.90
Purple Red
#990147
ΔE00 4.41
Dark Fuchsia
#9D0759
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F52 #1FA875
analogous
#A81F97 #A81F52 #A8311F
triadic
#A81F52 #52A81F #1F52A8
tetradic
#A81F52 #97A81F #1FA875 #311FA8
square
#A81F52 #97A81F #1FA875 #311FA8
split-complementary
#A81F52 #1FA831 #1F97A8
monochromatic
#410C20 #741539 #A81F52 #D82C6C #E26090
Accessibility & contrast
On white
7.04
#A81F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#A81F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F52
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F52 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434853
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#B70036
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a81f52; /* rgb */ color: rgb(168, 31, 82); /* oklch */ color: oklch(48.5% 0.174 4.9);
Tailwind
colors: {
custom: {
50: '#c86a82',
500: '#a81f52',
950: '#000000',
},
}SCSS
$custom: #a81f52; $custom-light: #c86a82; $custom-dark: #000000;
JSON
{
"hex": "#a81f52",
"rgb": {
"r": 168,
"g": 31,
"b": 82
},
"hsl": {
"h": 337.664,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48549,
"c": 0.17377,
"h": 4.9
},
"luminance": 0.09914
}Semantic roles & 50–950 ramp
primary
#A81F52
secondary
#5DC69F
accent
#ECAA3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C