#A51E4F#A51E4F
#A51E4F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.171 H 5.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A51E4F |
|---|---|
| RGB | rgb(165, 30, 79) |
| HSL | hsl(338, 69%, 38%) |
| HSV | hsv(338, 82%, 65%) |
| CMYK | cmyk(0%, 81.8%, 52.1%, 35.3%) |
| CIE-LAB | lab(36.92, 55.77, 6.40) |
| CIE-LCH | lch(36.92, 56.14, 6.54°) |
| OKLab | oklab(47.85% 0.1705 0.0167) |
| OKLCH | oklch(47.85% 0.171 5.6) |
| XYZ | xyz(17.3942, 9.4949, 8.3124) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.48
Raspberry (survey)
#B00149
ΔE00 2.81
Berry
#990F4B
ΔE00 3.42
Violet Red
#A50055
ΔE00 3.65
Purple Red
#990147
ΔE00 3.84
Cranberry
#9E003A
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51E4F #1EA574
analogous
#A51E92 #A51E4F #A5301E
triadic
#A51E4F #4FA51E #1E4FA5
tetradic
#A51E4F #92A51E #1EA574 #301EA5
square
#A51E4F #92A51E #1EA574 #301EA5
split-complementary
#A51E4F #1EA530 #1E92A5
monochromatic
#3D0B1D #711536 #A51E4F #D82868 #E15C8C
Accessibility & contrast
On white
7.25
#A51E4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A51E4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51E4F
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51E4F | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#66604C
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a51e4f; /* rgb */ color: rgb(165, 30, 79); /* oklch */ color: oklch(47.8% 0.171 5.6);
Tailwind
colors: {
custom: {
50: '#c66a80',
500: '#a51e4f',
950: '#000000',
},
}SCSS
$custom: #a51e4f; $custom-light: #c66a80; $custom-dark: #000000;
JSON
{
"hex": "#a51e4f",
"rgb": {
"r": 165,
"g": 30,
"b": 79
},
"hsl": {
"h": 338.222,
"s": 69.231,
"l": 38.235
},
"oklch": {
"l": 0.47849,
"c": 0.17136,
"h": 5.6
},
"luminance": 0.09492
}Semantic roles & 50–950 ramp
primary
#A51E4F
secondary
#59C59E
accent
#ECAC3C
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C