#A12042#A12042
#A12042 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 11.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #A12042 |
|---|---|
| RGB | rgb(161, 32, 66) |
| HSL | hsl(344, 67%, 38%) |
| HSV | hsv(344, 80%, 63%) |
| CMYK | cmyk(0%, 80.1%, 59%, 36.9%) |
| CIE-LAB | lab(36.00, 53.10, 13.38) |
| CIE-LCH | lch(36.00, 54.76, 14.14°) |
| OKLab | oklab(46.92% 0.1605 0.0333) |
| OKLCH | oklch(46.92% 0.164 11.7) |
| XYZ | xyz(16.1995, 9.0058, 6.0385) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.74
Raspberry (survey)
#B00149
ΔE00 3.46
Rouge
#AB1239
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.71
Purple Red
#990147
ΔE00 5.56
Red Wine
#8C0034
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12042 #20A17F
analogous
#A12082 #A12042 #A13E20
triadic
#A12042 #42A120 #2042A1
tetradic
#A12042 #82A120 #20A17F #3E20A1
square
#A12042 #82A120 #20A17F #3E20A1
split-complementary
#A12042 #20A13E #2082A1
monochromatic
#3B0C18 #6E162D #A12042 #D42A57 #DF5D7F
Accessibility & contrast
On white
7.50
#A12042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#A12042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12042
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12042 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#655E3F
Tritanopia (blue-blind)
#B0002F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a12042; /* rgb */ color: rgb(161, 32, 66); /* oklch */ color: oklch(46.9% 0.164 11.7);
Tailwind
colors: {
custom: {
50: '#c46976',
500: '#a12042',
950: '#000000',
},
}SCSS
$custom: #a12042; $custom-light: #c46976; $custom-dark: #000000;
JSON
{
"hex": "#a12042",
"rgb": {
"r": 161,
"g": 32,
"b": 66
},
"hsl": {
"h": 344.186,
"s": 66.839,
"l": 37.843
},
"oklch": {
"l": 0.4692,
"c": 0.16392,
"h": 11.7
},
"luminance": 0.09003
}Semantic roles & 50–950 ramp
primary
#A12042
secondary
#5AC3A7
accent
#EABC3E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B