#A12557#A12557
#A12557 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.164 H 1.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A12557 |
|---|---|
| RGB | rgb(161, 37, 87) |
| HSL | hsl(336, 63%, 39%) |
| HSV | hsv(336, 77%, 63%) |
| CMYK | cmyk(0%, 77%, 46%, 36.9%) |
| CIE-LAB | lab(37.10, 53.29, 1.41) |
| CIE-LCH | lch(37.10, 53.31, 1.52°) |
| OKLab | oklab(47.91% 0.1635 0.0042) |
| OKLCH | oklch(47.91% 0.164 1.5) |
| XYZ | xyz(17.0812, 9.5906, 9.9667) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 2.77
Berry
#990F4B
ΔE00 3.42
Dark Fuchsia
#9D0759
ΔE00 4.02
Deep Magenta
#A0025C
ΔE00 4.30
Purple Red
#990147
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12557 #25A16F
analogous
#A12595 #A12557 #A13125
triadic
#A12557 #57A125 #2557A1
tetradic
#A12557 #95A125 #25A16F #3125A1
square
#A12557 #95A125 #25A16F #3125A1
split-complementary
#A12557 #25A131 #2595A1
monochromatic
#3D0E21 #6F1A3C #A12557 #D03372 #DC6595
Accessibility & contrast
On white
7.20
#A12557 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A12557 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12557
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12557 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12557 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#424858
Deuteranopia (green-blind)
#636054
Tritanopia (blue-blind)
#AF0B3B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12557; /* rgb */ color: rgb(161, 37, 87); /* oklch */ color: oklch(47.9% 0.164 1.5);
Tailwind
colors: {
custom: {
50: '#c26c86',
500: '#a12557',
950: '#000000',
},
}SCSS
$custom: #a12557; $custom-light: #c26c86; $custom-dark: #000000;
JSON
{
"hex": "#a12557",
"rgb": {
"r": 161,
"g": 37,
"b": 87
},
"hsl": {
"h": 335.806,
"s": 62.626,
"l": 38.824
},
"oklch": {
"l": 0.47912,
"c": 0.16357,
"h": 1.5
},
"luminance": 0.09588
}Semantic roles & 50–950 ramp
primary
#A12557
secondary
#61C19A
accent
#E6A442
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C