#A12852#A12852
#A12852 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.159 H 4.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A12852 |
|---|---|
| RGB | rgb(161, 40, 82) |
| HSL | hsl(339, 60%, 39%) |
| HSV | hsv(339, 75%, 63%) |
| CMYK | cmyk(0%, 75.2%, 49.1%, 36.9%) |
| CIE-LAB | lab(37.31, 51.83, 4.92) |
| CIE-LCH | lch(37.31, 52.06, 5.42°) |
| OKLab | oklab(48.02% 0.1585 0.0131) |
| OKLCH | oklch(48.02% 0.159 4.7) |
| XYZ | xyz(16.9812, 9.7061, 8.9603) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.69
Purplish Red
#B0054B
ΔE00 3.70
Violet Red
#A50055
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.03
Purple Red
#990147
ΔE00 4.36
Light Burgundy
#A8415B
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12852 #28A177
analogous
#A1288E #A12852 #A13B28
triadic
#A12852 #52A128 #2852A1
tetradic
#A12852 #8EA128 #28A177 #3B28A1
square
#A12852 #8EA128 #28A177 #3B28A1
split-complementary
#A12852 #28A13B #288EA1
monochromatic
#3F1020 #701C39 #A12852 #CE396C #DA6A91
Accessibility & contrast
On white
7.14
#A12852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A12852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12852
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12852 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#65604F
Tritanopia (blue-blind)
#AF0E3A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12852; /* rgb */ color: rgb(161, 40, 82); /* oklch */ color: oklch(48.0% 0.159 4.7);
Tailwind
colors: {
custom: {
50: '#c26d82',
500: '#a12852',
950: '#000000',
},
}SCSS
$custom: #a12852; $custom-light: #c26d82; $custom-dark: #000000;
JSON
{
"hex": "#a12852",
"rgb": {
"r": 161,
"g": 40,
"b": 82
},
"hsl": {
"h": 339.174,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.48021,
"c": 0.15902,
"h": 4.7
},
"luminance": 0.09704
}Semantic roles & 50–950 ramp
primary
#A12852
secondary
#65C0A0
accent
#E3AC44
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C