#A12751#A12751
#A12751 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.9% C 0.160 H 5.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A12751 |
|---|---|
| RGB | rgb(161, 39, 81) |
| HSL | hsl(339, 61%, 39%) |
| HSV | hsv(339, 76%, 63%) |
| CMYK | cmyk(0%, 75.8%, 49.7%, 36.9%) |
| CIE-LAB | lab(37.16, 52.08, 5.35) |
| CIE-LCH | lch(37.16, 52.35, 5.86°) |
| OKLab | oklab(47.9% 0.1592 0.0141) |
| OKLCH | oklch(47.9% 0.16 5.1) |
| XYZ | xyz(16.9101, 9.6245, 8.7502) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.53
Berry
#990F4B
ΔE00 3.61
Raspberry (survey)
#B00149
ΔE00 3.84
Violet Red
#A50055
ΔE00 4.01
Purple Red
#990147
ΔE00 4.23
Light Burgundy
#A8415B
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12751 #27A177
analogous
#A1278E #A12751 #A13A27
triadic
#A12751 #51A127 #2751A1
tetradic
#A12751 #8EA127 #27A177 #3A27A1
square
#A12751 #8EA127 #27A177 #3A27A1
split-complementary
#A12751 #27A13A #278EA1
monochromatic
#3E0F1F #701B38 #A12751 #CE376B #DA688F
Accessibility & contrast
On white
7.18
#A12751 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A12751 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A12751
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12751 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#AF0A39
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a12751; /* rgb */ color: rgb(161, 39, 81); /* oklch */ color: oklch(47.9% 0.160 5.1);
Tailwind
colors: {
custom: {
50: '#c26c81',
500: '#a12751',
950: '#000000',
},
}SCSS
$custom: #a12751; $custom-light: #c26c81; $custom-dark: #000000;
JSON
{
"hex": "#a12751",
"rgb": {
"r": 161,
"g": 39,
"b": 81
},
"hsl": {
"h": 339.344,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.47902,
"c": 0.15984,
"h": 5.1
},
"luminance": 0.09622
}Semantic roles & 50–950 ramp
primary
#A12751
secondary
#63C0A0
accent
#E4AD44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13080A
muted
#827B7C