#A12045#A12045
#A12045 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.164 H 10.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A12045 |
|---|---|
| RGB | rgb(161, 32, 69) |
| HSL | hsl(343, 67%, 38%) |
| HSV | hsv(343, 80%, 63%) |
| CMYK | cmyk(0%, 80.1%, 57.1%, 36.9%) |
| CIE-LAB | lab(36.07, 53.32, 11.54) |
| CIE-LCH | lch(36.07, 54.55, 12.21°) |
| OKLab | oklab(46.99% 0.1617 0.029) |
| OKLCH | oklch(46.99% 0.164 10.2) |
| XYZ | xyz(16.2902, 9.0421, 6.5166) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 2.99
Cranberry
#9E003A
ΔE00 2.99
Purplish Red
#B0054B
ΔE00 3.13
Rouge
#AB1239
ΔE00 4.35
Purple Red
#990147
ΔE00 4.81
Berry
#990F4B
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12045 #20A17C
analogous
#A12085 #A12045 #A13C20
triadic
#A12045 #45A120 #2045A1
tetradic
#A12045 #85A120 #20A17C #3C20A1
square
#A12045 #85A120 #20A17C #3C20A1
split-complementary
#A12045 #20A13C #2085A1
monochromatic
#3B0C19 #6E162F #A12045 #D42A5B #DF5D82
Accessibility & contrast
On white
7.48
#A12045 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#A12045 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12045
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12045 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444446
Deuteranopia (green-blind)
#655E42
Tritanopia (blue-blind)
#B00030
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #a12045; /* rgb */ color: rgb(161, 32, 69); /* oklch */ color: oklch(47.0% 0.164 10.2);
Tailwind
colors: {
custom: {
50: '#c36978',
500: '#a12045',
950: '#000000',
},
}SCSS
$custom: #a12045; $custom-light: #c36978; $custom-dark: #000000;
JSON
{
"hex": "#a12045",
"rgb": {
"r": 161,
"g": 32,
"b": 69
},
"hsl": {
"h": 342.791,
"s": 66.839,
"l": 37.843
},
"oklch": {
"l": 0.46994,
"c": 0.16429,
"h": 10.2
},
"luminance": 0.0904
}Semantic roles & 50–950 ramp
primary
#A12045
secondary
#5AC3A5
accent
#EAB93E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B