#A12552#A12552
#A12552 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.162 H 4.2°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A12552 |
|---|---|
| RGB | rgb(161, 37, 82) |
| HSL | hsl(338, 63%, 39%) |
| HSV | hsv(338, 77%, 63%) |
| CMYK | cmyk(0%, 77%, 49.1%, 36.9%) |
| CIE-LAB | lab(36.95, 52.83, 4.41) |
| CIE-LCH | lch(36.95, 53.01, 4.77°) |
| OKLab | oklab(47.76% 0.1617 0.0118) |
| OKLCH | oklch(47.76% 0.162 4.2) |
| XYZ | xyz(16.8839, 9.5117, 8.9279) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.26
Violet Red
#A50055
ΔE00 3.47
Purplish Red
#B0054B
ΔE00 3.68
Purple Red
#990147
ΔE00 3.97
Raspberry (survey)
#B00149
ΔE00 4.03
Dark Fuchsia
#9D0759
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12552 #25A174
analogous
#A12590 #A12552 #A13625
triadic
#A12552 #52A125 #2552A1
tetradic
#A12552 #90A125 #25A174 #3625A1
square
#A12552 #90A125 #25A174 #3625A1
split-complementary
#A12552 #25A136 #2590A1
monochromatic
#3D0E1F #6F1A39 #A12552 #D0336C #DC6590
Accessibility & contrast
On white
7.24
#A12552 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#A12552 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12552
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12552 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12552 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#AF0638
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12552; /* rgb */ color: rgb(161, 37, 82); /* oklch */ color: oklch(47.8% 0.162 4.2);
Tailwind
colors: {
custom: {
50: '#c26c82',
500: '#a12552',
950: '#000000',
},
}SCSS
$custom: #a12552; $custom-light: #c26c82; $custom-dark: #000000;
JSON
{
"hex": "#a12552",
"rgb": {
"r": 161,
"g": 37,
"b": 82
},
"hsl": {
"h": 338.226,
"s": 62.626,
"l": 38.824
},
"oklch": {
"l": 0.47757,
"c": 0.16215,
"h": 4.2
},
"luminance": 0.09509
}Semantic roles & 50–950 ramp
primary
#A12552
secondary
#61C19E
accent
#E6AA42
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13070A
muted
#827A7C