#A51F41#A51F41
#A51F41 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.168 H 12.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A51F41 |
|---|---|
| RGB | rgb(165, 31, 65) |
| HSL | hsl(345, 68%, 38%) |
| HSV | hsv(345, 81%, 65%) |
| CMYK | cmyk(0%, 81.2%, 60.6%, 35.3%) |
| CIE-LAB | lab(36.67, 54.46, 15.08) |
| CIE-LCH | lch(36.67, 56.51, 15.47°) |
| OKLab | oklab(47.56% 0.1642 0.0372) |
| OKLCH | oklch(47.56% 0.168 12.8) |
| XYZ | xyz(16.9629, 9.3635, 5.9141) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rouge
#AB1239
ΔE00 2.58
Cranberry
#9E003A
ΔE00 3.15
Raspberry (survey)
#B00149
ΔE00 3.52
Purplish Red
#B0054B
ΔE00 3.84
Rose Red
#BE013C
ΔE00 5.15
Red Wine
#8C0034
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51F41 #1FA583
analogous
#A51F84 #A51F41 #A5401F
triadic
#A51F41 #41A51F #1F41A5
tetradic
#A51F41 #84A51F #1FA583 #401FA5
square
#A51F41 #84A51F #1FA583 #401FA5
split-complementary
#A51F41 #1FA540 #1F84A5
monochromatic
#3E0C18 #71152D #A51F41 #D72A56 #E15E7F
Accessibility & contrast
On white
7.31
#A51F41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#A51F41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51F41
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51F41 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464541
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#B5002E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #a51f41; /* rgb */ color: rgb(165, 31, 65); /* oklch */ color: oklch(47.6% 0.168 12.8);
Tailwind
colors: {
custom: {
50: '#c76975',
500: '#a51f41',
950: '#000000',
},
}SCSS
$custom: #a51f41; $custom-light: #c76975; $custom-dark: #000000;
JSON
{
"hex": "#a51f41",
"rgb": {
"r": 165,
"g": 31,
"b": 65
},
"hsl": {
"h": 344.776,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.47557,
"c": 0.16835,
"h": 12.8
},
"luminance": 0.09361
}Semantic roles & 50–950 ramp
primary
#A51F41
secondary
#5BC5AA
accent
#EBBF3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B