#A12952#A12952
#A12952 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.158 H 4.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A12952 |
|---|---|
| RGB | rgb(161, 41, 82) |
| HSL | hsl(340, 59%, 40%) |
| HSV | hsv(340, 75%, 63%) |
| CMYK | cmyk(0%, 74.5%, 49.1%, 36.9%) |
| CIE-LAB | lab(37.43, 51.48, 5.10) |
| CIE-LCH | lch(37.43, 51.73, 5.66°) |
| OKLab | oklab(48.11% 0.1574 0.0135) |
| OKLCH | oklch(48.11% 0.158 4.9) |
| XYZ | xyz(17.0153, 9.7744, 8.9717) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.72
Berry
#990F4B
ΔE00 3.84
Raspberry (survey)
#B00149
ΔE00 4.05
Violet Red
#A50055
ΔE00 4.15
Purple Red
#990147
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12952 #29A178
analogous
#A1298E #A12952 #A13C29
triadic
#A12952 #52A129 #2952A1
tetradic
#A12952 #8EA129 #29A178 #3C29A1
square
#A12952 #8EA129 #29A178 #3C29A1
split-complementary
#A12952 #29A13C #298EA1
monochromatic
#3F1020 #701D39 #A12952 #CD3A6C #D96B91
Accessibility & contrast
On white
7.11
#A12952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#A12952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12952
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12952 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#65614F
Tritanopia (blue-blind)
#AF103A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12952; /* rgb */ color: rgb(161, 41, 82); /* oklch */ color: oklch(48.1% 0.158 4.9);
Tailwind
colors: {
custom: {
50: '#c26d82',
500: '#a12952',
950: '#000000',
},
}SCSS
$custom: #a12952; $custom-light: #c26d82; $custom-dark: #000000;
JSON
{
"hex": "#a12952",
"rgb": {
"r": 161,
"g": 41,
"b": 82
},
"hsl": {
"h": 339.5,
"s": 59.406,
"l": 39.608
},
"oklch": {
"l": 0.48114,
"c": 0.15794,
"h": 4.9
},
"luminance": 0.09772
}Semantic roles & 50–950 ramp
primary
#A12952
secondary
#66C0A1
accent
#E3AD45
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C