#A51840#A51840
#A51840 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 12.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A51840 |
|---|---|
| RGB | rgb(165, 24, 64) |
| HSL | hsl(343, 75%, 37%) |
| HSV | hsv(343, 85%, 65%) |
| CMYK | cmyk(0%, 85.5%, 61.2%, 35.3%) |
| CIE-LAB | lab(36.03, 56.16, 14.86) |
| CIE-LCH | lch(36.03, 58.09, 14.82°) |
| OKLab | oklab(47.08% 0.1695 0.0366) |
| OKLCH | oklch(47.08% 0.173 12.2) |
| XYZ | xyz(16.7709, 9.0253, 5.7085) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.47
Rouge
#AB1239
ΔE00 2.74
Raspberry (survey)
#B00149
ΔE00 3.15
Purplish Red
#B0054B
ΔE00 3.51
Rose Red
#BE013C
ΔE00 5.40
Red Wine
#8C0034
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A51840 #18A57D
analogous
#A51886 #A51840 #A53718
triadic
#A51840 #40A518 #1840A5
tetradic
#A51840 #86A518 #18A57D #3718A5
square
#A51840 #86A518 #18A57D #3718A5
split-complementary
#A51840 #18A537 #1886A5
monochromatic
#3A0817 #70102B #A51840 #DA2055 #E6527C
Accessibility & contrast
On white
7.49
#A51840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#A51840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A51840
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A51840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A51840 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#B5002B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a51840; /* rgb */ color: rgb(165, 24, 64); /* oklch */ color: oklch(47.1% 0.173 12.2);
Tailwind
colors: {
custom: {
50: '#c76774',
500: '#a51840',
950: '#000000',
},
}SCSS
$custom: #a51840; $custom-light: #c76774; $custom-dark: #000000;
JSON
{
"hex": "#a51840",
"rgb": {
"r": 165,
"g": 24,
"b": 64
},
"hsl": {
"h": 342.979,
"s": 74.603,
"l": 37.059
},
"oklch": {
"l": 0.47077,
"c": 0.17342,
"h": 12.2
},
"luminance": 0.09023
}Semantic roles & 50–950 ramp
primary
#A51840
secondary
#51C8A6
accent
#F1BC37
background
#FDF6F7
surface
#FAEBED
border
#D3C6C8
text
#140708
muted
#837A7B