#AB4281#AB4281
#AB4281 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.154 H 346.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4281 |
|---|---|
| RGB | rgb(171, 66, 129) |
| HSL | hsl(324, 44%, 46%) |
| HSV | hsv(324, 61%, 67%) |
| CMYK | cmyk(0%, 61.4%, 24.6%, 32.9%) |
| CIE-LAB | lab(44.44, 49.75, -13.69) |
| CIE-LCH | lch(44.44, 51.60, 344.62°) |
| OKLab | oklab(54.12% 0.15 -0.0361) |
| OKLCH | oklch(54.12% 0.154 346.4) |
| XYZ | xyz(22.7060, 14.1415, 22.2984) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.46
Mediumvioletred
#C71585
ΔE00 5.75
Magenta (survey)
#C20078
ΔE00 6.42
Purpleish
#98568D
ΔE00 6.44
Purplish
#94568C
ΔE00 7.02
Ugly Purple
#A442A0
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4281 #42AB6C
analogous
#A142AB #AB4281 #AB424D
triadic
#AB4281 #81AB42 #4281AB
tetradic
#AB4281 #ABA142 #42AB6C #424DAB
square
#AB4281 #ABA142 #42AB6C #424DAB
split-complementary
#AB4281 #4DAB42 #42ABA1
monochromatic
#53203E #7F3160 #AB4281 #C4669E #D592BA
Accessibility & contrast
On white
5.49
#AB4281 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#AB4281 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4281
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4281 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5E83
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#B6405C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ab4281; /* rgb */ color: rgb(171, 66, 129); /* oklch */ color: oklch(54.1% 0.154 346.4);
Tailwind
colors: {
custom: {
50: '#c77ca5',
500: '#ab4281',
950: '#000000',
},
}SCSS
$custom: #ab4281; $custom-light: #c77ca5; $custom-dark: #000000;
JSON
{
"hex": "#ab4281",
"rgb": {
"r": 171,
"g": 66,
"b": 129
},
"hsl": {
"h": 324,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.54123,
"c": 0.15424,
"h": 346.4
},
"luminance": 0.14139
}Semantic roles & 50–950 ramp
primary
#AB4281
secondary
#88C09F
accent
#D48754
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F