#AB4A7A#AB4A7A
#AB4A7A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.9% C 0.138 H 351.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4A7A |
|---|---|
| RGB | rgb(171, 74, 122) |
| HSL | hsl(330, 40%, 48%) |
| HSV | hsv(330, 57%, 67%) |
| CMYK | cmyk(0%, 56.7%, 28.7%, 32.9%) |
| CIE-LAB | lab(45.58, 45.03, -7.70) |
| CIE-LCH | lch(45.58, 45.69, 350.30°) |
| OKLab | oklab(54.89% 0.1364 -0.0199) |
| OKLCH | oklch(54.89% 0.138 351.7) |
| XYZ | xyz(22.7571, 14.9628, 20.0982) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 4.73
Purpleish
#98568D
ΔE00 7.31
Mediumvioletred
#C71585
ΔE00 7.46
Magenta (survey)
#C20078
ΔE00 7.72
Purplish
#94568C
ΔE00 7.90
Light Burgundy
#A8415B
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4A7A #4AAB7B
analogous
#AB4AAA #AB4A7A #AB4A4A
triadic
#AB4A7A #7AAB4A #4A7AAB
tetradic
#AB4A7A #AAAB4A #4AAB7B #4A4AAB
square
#AB4A7A #AAAB4A #4AAB7B #4A4AAB
split-complementary
#AB4A7A #4AAB4A #4AAAAB
monochromatic
#56253D #80385C #AB4A7A #C17199 #D49BB7
Accessibility & contrast
On white
5.26
#AB4A7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#AB4A7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4A7A
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4A7A | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#717278
Tritanopia (blue-blind)
#B7465D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab4a7a; /* rgb */ color: rgb(171, 74, 122); /* oklch */ color: oklch(54.9% 0.138 351.7);
Tailwind
colors: {
custom: {
50: '#c781a0',
500: '#ab4a7a',
950: '#000000',
},
}SCSS
$custom: #ab4a7a; $custom-light: #c781a0; $custom-dark: #000000;
JSON
{
"hex": "#ab4a7a",
"rgb": {
"r": 171,
"g": 74,
"b": 122
},
"hsl": {
"h": 330.309,
"s": 39.592,
"l": 48.039
},
"oklch": {
"l": 0.54892,
"c": 0.13788,
"h": 351.7
},
"luminance": 0.14961
}Semantic roles & 50–950 ramp
primary
#AB4A7A
secondary
#90C0A9
accent
#CF9558
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130B0E
muted
#827C7E