#A12754#A12754
#A12754 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.161 H 3.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A12754 |
|---|---|
| RGB | rgb(161, 39, 84) |
| HSL | hsl(338, 61%, 39%) |
| HSV | hsv(338, 76%, 63%) |
| CMYK | cmyk(0%, 75.8%, 47.8%, 36.9%) |
| CIE-LAB | lab(37.24, 52.35, 3.55) |
| CIE-LCH | lch(37.24, 52.47, 3.88°) |
| OKLab | oklab(47.99% 0.1603 0.0096) |
| OKLCH | oklch(47.99% 0.161 3.4) |
| XYZ | xyz(17.0251, 9.6705, 9.3559) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.45
Berry
#990F4B
ΔE00 3.49
Purplish Red
#B0054B
ΔE00 4.05
Purple Red
#990147
ΔE00 4.28
Raspberry (survey)
#B00149
ΔE00 4.42
Dark Fuchsia
#9D0759
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12754 #27A174
analogous
#A12791 #A12754 #A13727
triadic
#A12754 #54A127 #2754A1
tetradic
#A12754 #91A127 #27A174 #3727A1
square
#A12754 #91A127 #27A174 #3727A1
split-complementary
#A12754 #27A137 #2791A1
monochromatic
#3E0F21 #701B3A #A12754 #CE376F #DA6892
Accessibility & contrast
On white
7.16
#A12754 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#A12754 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12754
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12754 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12754 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444855
Deuteranopia (green-blind)
#646051
Tritanopia (blue-blind)
#AF0D3A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a12754; /* rgb */ color: rgb(161, 39, 84); /* oklch */ color: oklch(48.0% 0.161 3.4);
Tailwind
colors: {
custom: {
50: '#c26c83',
500: '#a12754',
950: '#000000',
},
}SCSS
$custom: #a12754; $custom-light: #c26c83; $custom-dark: #000000;
JSON
{
"hex": "#a12754",
"rgb": {
"r": 161,
"g": 39,
"b": 84
},
"hsl": {
"h": 337.869,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.47992,
"c": 0.16061,
"h": 3.4
},
"luminance": 0.09668
}Semantic roles & 50–950 ramp
primary
#A12754
secondary
#63C09E
accent
#E4A944
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C