#A12851#A12851
#A12851 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.159 H 5.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A12851 |
|---|---|
| RGB | rgb(161, 40, 81) |
| HSL | hsl(340, 60%, 39%) |
| HSV | hsv(340, 75%, 63%) |
| CMYK | cmyk(0%, 75.2%, 49.7%, 36.9%) |
| CIE-LAB | lab(37.28, 51.74, 5.52) |
| CIE-LCH | lch(37.28, 52.03, 6.09°) |
| OKLab | oklab(47.99% 0.1581 0.0146) |
| OKLCH | oklch(47.99% 0.159 5.3) |
| XYZ | xyz(16.9434, 9.6910, 8.7613) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.55
Berry
#990F4B
ΔE00 3.76
Raspberry (survey)
#B00149
ΔE00 3.86
Violet Red
#A50055
ΔE00 4.18
Purple Red
#990147
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12851 #28A178
analogous
#A1288E #A12851 #A13B28
triadic
#A12851 #51A128 #2851A1
tetradic
#A12851 #8EA128 #28A178 #3B28A1
square
#A12851 #8EA128 #28A178 #3B28A1
split-complementary
#A12851 #28A13B #288EA1
monochromatic
#3F1020 #701C38 #A12851 #CE396B #DA6A90
Accessibility & contrast
On white
7.15
#A12851 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A12851 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12851
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12851 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#AF0D39
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12851; /* rgb */ color: rgb(161, 40, 81); /* oklch */ color: oklch(48.0% 0.159 5.3);
Tailwind
colors: {
custom: {
50: '#c26d81',
500: '#a12851',
950: '#000000',
},
}SCSS
$custom: #a12851; $custom-light: #c26d81; $custom-dark: #000000;
JSON
{
"hex": "#a12851",
"rgb": {
"r": 161,
"g": 40,
"b": 81
},
"hsl": {
"h": 339.669,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.47992,
"c": 0.15878,
"h": 5.3
},
"luminance": 0.09689
}Semantic roles & 50–950 ramp
primary
#A12851
secondary
#65C0A1
accent
#E3AE44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C