#A81F4F#A81F4F
#A81F4F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.173 H 6.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A81F4F |
|---|---|
| RGB | rgb(168, 31, 79) |
| HSL | hsl(339, 69%, 39%) |
| HSV | hsv(339, 82%, 66%) |
| CMYK | cmyk(0%, 81.5%, 53%, 34.1%) |
| CIE-LAB | lab(37.61, 56.32, 7.46) |
| CIE-LCH | lch(37.61, 56.81, 7.55°) |
| OKLab | oklab(48.46% 0.172 0.0193) |
| OKLCH | oklch(48.46% 0.173 6.4) |
| XYZ | xyz(18.0514, 9.8719, 8.3506) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.00
Raspberry (survey)
#B00149
ΔE00 2.33
Berry
#990F4B
ΔE00 4.17
Violet Red
#A50055
ΔE00 4.25
Purple Red
#990147
ΔE00 4.52
Cranberry
#9E003A
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A81F4F #1FA878
analogous
#A81F94 #A81F4F #A8341F
triadic
#A81F4F #4FA81F #1F4FA8
tetradic
#A81F4F #94A81F #1FA878 #341FA8
square
#A81F4F #94A81F #1FA878 #341FA8
split-complementary
#A81F4F #1FA834 #1F94A8
monochromatic
#410C1E #741537 #A81F4F #D82C68 #E2608D
Accessibility & contrast
On white
7.06
#A81F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A81F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A81F4F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A81F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A81F4F | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#68624C
Tritanopia (blue-blind)
#B80035
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a81f4f; /* rgb */ color: rgb(168, 31, 79); /* oklch */ color: oklch(48.5% 0.173 6.4);
Tailwind
colors: {
custom: {
50: '#c86a80',
500: '#a81f4f',
950: '#000000',
},
}SCSS
$custom: #a81f4f; $custom-light: #c86a80; $custom-dark: #000000;
JSON
{
"hex": "#a81f4f",
"rgb": {
"r": 168,
"g": 31,
"b": 79
},
"hsl": {
"h": 338.978,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.48463,
"c": 0.17309,
"h": 6.4
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#A81F4F
secondary
#5DC6A1
accent
#ECAE3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C