#A42851#A42851
#A42851 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.162 H 6.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A42851 |
|---|---|
| RGB | rgb(164, 40, 81) |
| HSL | hsl(340, 61%, 40%) |
| HSV | hsv(340, 76%, 64%) |
| CMYK | cmyk(0%, 75.6%, 50.6%, 35.7%) |
| CIE-LAB | lab(37.85, 52.62, 6.41) |
| CIE-LCH | lch(37.85, 53.01, 6.95°) |
| OKLab | oklab(48.52% 0.1607 0.0168) |
| OKLCH | oklch(48.52% 0.162 6) |
| XYZ | xyz(17.5554, 10.0066, 8.7900) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.43
Berry
#990F4B
ΔE00 4.28
Violet Red
#A50055
ΔE00 4.52
Purple Red
#990147
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42851 #28A47B
analogous
#A4288F #A42851 #A43D28
triadic
#A42851 #51A428 #2851A4
tetradic
#A42851 #8FA428 #28A47B #3D28A4
square
#A42851 #8FA428 #28A47B #3D28A4
split-complementary
#A42851 #28A43D #288FA4
monochromatic
#421020 #731C39 #A42851 #CF3A6B #DB6B90
Accessibility & contrast
On white
7.00
#A42851 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#A42851 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42851
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42851 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#67624E
Tritanopia (blue-blind)
#B30939
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a42851; /* rgb */ color: rgb(164, 40, 81); /* oklch */ color: oklch(48.5% 0.162 6.0);
Tailwind
colors: {
custom: {
50: '#c56d81',
500: '#a42851',
950: '#000000',
},
}SCSS
$custom: #a42851; $custom-light: #c56d81; $custom-dark: #000000;
JSON
{
"hex": "#a42851",
"rgb": {
"r": 164,
"g": 40,
"b": 81
},
"hsl": {
"h": 340.161,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.48519,
"c": 0.16155,
"h": 6
},
"luminance": 0.10004
}Semantic roles & 50–950 ramp
primary
#A42851
secondary
#66C1A3
accent
#E4AF44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C