#AB3F8D#AB3F8D
#AB3F8D is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.167 H 340.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3F8D |
|---|---|
| RGB | rgb(171, 63, 141) |
| HSL | hsl(317, 46%, 46%) |
| HSV | hsv(317, 63%, 67%) |
| CMYK | cmyk(0%, 63.2%, 17.5%, 32.9%) |
| CIE-LAB | lab(44.43, 52.81, -20.98) |
| CIE-LCH | lch(44.43, 56.83, 338.33°) |
| OKLab | oklab(54.28% 0.1567 -0.0564) |
| OKLCH | oklch(54.28% 0.167 340.2) |
| XYZ | xyz(23.3803, 14.1381, 26.6917) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.75
Medium Purple
#9E43A2
ΔE00 5.98
Purpleish
#98568D
ΔE00 6.03
Mediumvioletred
#C71585
ΔE00 6.04
Purplish
#94568C
ΔE00 6.55
Light Plum
#9D5783
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3F8D #3FAB5D
analogous
#933FAB #AB3F8D #AB3F57
triadic
#AB3F8D #8DAB3F #3F8DAB
tetradic
#AB3F8D #AB933F #3FAB5D #3F57AB
square
#AB3F8D #AB933F #3FAB5D #3F57AB
split-complementary
#AB3F8D #57AB3F #3FAB93
monochromatic
#521E43 #7E2F68 #AB3F8D #C562AA #D68FC2
Accessibility & contrast
On white
5.49
#AB3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#AB3F8D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3F8D
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3F8D | 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)
#455E8F
Deuteranopia (green-blind)
#666F8A
Tritanopia (blue-blind)
#B54160
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ab3f8d; /* rgb */ color: rgb(171, 63, 141); /* oklch */ color: oklch(54.3% 0.167 340.2);
Tailwind
colors: {
custom: {
50: '#c77bae',
500: '#ab3f8d',
950: '#000000',
},
}SCSS
$custom: #ab3f8d; $custom-light: #c77bae; $custom-dark: #000000;
JSON
{
"hex": "#ab3f8d",
"rgb": {
"r": 171,
"g": 63,
"b": 141
},
"hsl": {
"h": 316.667,
"s": 46.154,
"l": 45.882
},
"oklch": {
"l": 0.54278,
"c": 0.16659,
"h": 340.2
},
"luminance": 0.14136
}Semantic roles & 50–950 ramp
primary
#AB3F8D
secondary
#85C196
accent
#D67752
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F