#A12E52#A12E52
#A12E52 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.152 H 6.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A12E52 |
|---|---|
| RGB | rgb(161, 46, 82) |
| HSL | hsl(341, 56%, 41%) |
| HSV | hsv(341, 71%, 63%) |
| CMYK | cmyk(0%, 71.4%, 49.1%, 36.9%) |
| CIE-LAB | lab(38.10, 49.63, 6.04) |
| CIE-LCH | lch(38.10, 50.00, 6.94°) |
| OKLab | oklab(48.6% 0.1515 0.0159) |
| OKLCH | oklch(48.6% 0.152 6) |
| XYZ | xyz(17.1993, 10.1425, 9.0330) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.98
Raspberry (survey)
#B00149
ΔE00 4.26
Light Burgundy
#A8415B
ΔE00 4.31
Berry
#990F4B
ΔE00 4.71
Violet Red
#A50055
ΔE00 5.11
Purple Red
#990147
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12E52 #2EA17D
analogous
#A12E8C #A12E52 #A1432E
triadic
#A12E52 #52A12E #2E52A1
tetradic
#A12E52 #8CA12E #2EA17D #432EA1
square
#A12E52 #8CA12E #2EA17D #432EA1
split-complementary
#A12E52 #2EA143 #2E8CA1
monochromatic
#421322 #71203A #A12E52 #C9436D #D77392
Accessibility & contrast
On white
6.94
#A12E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#A12E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12E52
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12E52 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494B53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#AF193D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a12e52; /* rgb */ color: rgb(161, 46, 82); /* oklch */ color: oklch(48.6% 0.152 6.0);
Tailwind
colors: {
custom: {
50: '#c27082',
500: '#a12e52',
950: '#000000',
},
}SCSS
$custom: #a12e52; $custom-light: #c27082; $custom-dark: #000000;
JSON
{
"hex": "#a12e52",
"rgb": {
"r": 161,
"g": 46,
"b": 82
},
"hsl": {
"h": 341.217,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.48603,
"c": 0.15228,
"h": 6
},
"luminance": 0.1014
}Semantic roles & 50–950 ramp
primary
#A12E52
secondary
#6CBEA5
accent
#DFB049
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C