#A12E58#A12E58
#A12E58 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.154 H 2.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A12E58 |
|---|---|
| RGB | rgb(161, 46, 88) |
| HSL | hsl(338, 56%, 41%) |
| HSV | hsv(338, 71%, 63%) |
| CMYK | cmyk(0%, 71.4%, 45.3%, 36.9%) |
| CIE-LAB | lab(38.27, 50.20, 2.47) |
| CIE-LCH | lch(38.27, 50.27, 2.81°) |
| OKLab | oklab(48.78% 0.1537 0.0069) |
| OKLCH | oklch(48.78% 0.154 2.6) |
| XYZ | xyz(17.4377, 10.2379, 10.2885) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.21
Berry
#990F4B
ΔE00 4.53
Purplish Red
#B0054B
ΔE00 4.88
Light Burgundy
#A8415B
ΔE00 4.90
Raspberry (survey)
#B00149
ΔE00 5.28
Purple Red
#990147
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12E58 #2EA177
analogous
#A12E91 #A12E58 #A13D2E
triadic
#A12E58 #58A12E #2E58A1
tetradic
#A12E58 #91A12E #2EA177 #3D2EA1
square
#A12E58 #91A12E #2EA177 #3D2EA1
split-complementary
#A12E58 #2EA13D #2E91A1
monochromatic
#421324 #71203E #A12E58 #C94374 #D77397
Accessibility & contrast
On white
6.89
#A12E58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#A12E58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12E58
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12E58 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474C59
Deuteranopia (green-blind)
#666255
Tritanopia (blue-blind)
#AF1C3F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #a12e58; /* rgb */ color: rgb(161, 46, 88); /* oklch */ color: oklch(48.8% 0.154 2.6);
Tailwind
colors: {
custom: {
50: '#c27087',
500: '#a12e58',
950: '#000000',
},
}SCSS
$custom: #a12e58; $custom-light: #c27087; $custom-dark: #000000;
JSON
{
"hex": "#a12e58",
"rgb": {
"r": 161,
"g": 46,
"b": 88
},
"hsl": {
"h": 338.087,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.48783,
"c": 0.15384,
"h": 2.6
},
"luminance": 0.10236
}Semantic roles & 50–950 ramp
primary
#A12E58
secondary
#6CBEA0
accent
#DFA849
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C