#A81F4D#A81F4D
#A81F4D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.173 H 7.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F4D |
|---|---|
| RGB | rgb(168, 31, 77) |
| HSL | hsl(340, 69%, 39%) |
| HSV | hsv(340, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 54.2%, 34.1%) |
| CIE-LAB | lab(37.56, 56.16, 8.67) |
| CIE-LCH | lch(37.56, 56.83, 8.78°) |
| OKLab | oklab(48.41% 0.1713 0.0223) |
| OKLCH | oklch(48.41% 0.173 7.4) |
| XYZ | xyz(17.9797, 9.8432, 7.9729) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.80
Raspberry (survey)
#B00149
ΔE00 2.04
Berry
#990F4B
ΔE00 4.46
Cranberry
#9E003A
ΔE00 4.68
Purple Red
#990147
ΔE00 4.70
Violet Red
#A50055
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F4D #1FA87A
analogous
#A81F92 #A81F4D #A8361F
triadic
#A81F4D #4DA81F #1F4DA8
tetradic
#A81F4D #92A81F #1FA87A #361FA8
square
#A81F4D #92A81F #1FA87A #361FA8
split-complementary
#A81F4D #1FA836 #1F92A8
monochromatic
#410C1E #741535 #A81F4D #D82C66 #E2608B
Accessibility & contrast
On white
7.07
#A81F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A81F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F4D
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F4D | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#B80034
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a81f4d; /* rgb */ color: rgb(168, 31, 77); /* oklch */ color: oklch(48.4% 0.173 7.4);
Tailwind
colors: {
custom: {
50: '#c86a7e',
500: '#a81f4d',
950: '#000000',
},
}SCSS
$custom: #a81f4d; $custom-light: #c86a7e; $custom-dark: #000000;
JSON
{
"hex": "#a81f4d",
"rgb": {
"r": 168,
"g": 31,
"b": 77
},
"hsl": {
"h": 339.854,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48408,
"c": 0.17269,
"h": 7.4
},
"luminance": 0.09841
}Semantic roles & 50–950 ramp
primary
#A81F4D
secondary
#5DC6A3
accent
#ECB13C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B