#A12B4E#A12B4E
#A12B4E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.155 H 7.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A12B4E |
|---|---|
| RGB | rgb(161, 43, 78) |
| HSL | hsl(342, 58%, 40%) |
| HSV | hsv(342, 73%, 63%) |
| CMYK | cmyk(0%, 73.3%, 51.6%, 36.9%) |
| CIE-LAB | lab(37.58, 50.40, 7.87) |
| CIE-LCH | lch(37.58, 51.01, 8.88°) |
| OKLab | oklab(48.19% 0.1535 0.0204) |
| OKLCH | oklch(48.19% 0.155 7.6) |
| XYZ | xyz(16.9384, 9.8572, 8.2169) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.48
Raspberry (survey)
#B00149
ΔE00 3.66
Berry
#990F4B
ΔE00 4.66
Light Burgundy
#A8415B
ΔE00 4.75
Purple Red
#990147
ΔE00 5.08
Cranberry
#9E003A
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12B4E #2BA17E
analogous
#A12B89 #A12B4E #A1432B
triadic
#A12B4E #4EA12B #2B4EA1
tetradic
#A12B4E #89A12B #2BA17E #432BA1
square
#A12B4E #89A12B #2BA17E #432BA1
split-complementary
#A12B4E #2BA143 #2B89A1
monochromatic
#40111F #711E37 #A12B4E #CB3E68 #D86E8E
Accessibility & contrast
On white
7.07
#A12B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#A12B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12B4E
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12B4E | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48494F
Deuteranopia (green-blind)
#67614B
Tritanopia (blue-blind)
#B01139
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12b4e; /* rgb */ color: rgb(161, 43, 78); /* oklch */ color: oklch(48.2% 0.155 7.6);
Tailwind
colors: {
custom: {
50: '#c26e7f',
500: '#a12b4e',
950: '#000000',
},
}SCSS
$custom: #a12b4e; $custom-light: #c26e7f; $custom-dark: #000000;
JSON
{
"hex": "#a12b4e",
"rgb": {
"r": 161,
"g": 43,
"b": 78
},
"hsl": {
"h": 342.203,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.4819,
"c": 0.15487,
"h": 7.6
},
"luminance": 0.09855
}Semantic roles & 50–950 ramp
primary
#A12B4E
secondary
#69BFA6
accent
#E1B347
background
#FCF7F7
surface
#F9EDEE
border
#D2C8C9
text
#13080A
muted
#827B7C