#AB438E#AB438E
#AB438E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.161 H 340.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AB438E |
|---|---|
| RGB | rgb(171, 67, 142) |
| HSL | hsl(317, 44%, 47%) |
| HSV | hsv(317, 61%, 67%) |
| CMYK | cmyk(0%, 60.8%, 17%, 32.9%) |
| CIE-LAB | lab(45.12, 51.19, -20.52) |
| CIE-LCH | lch(45.12, 55.15, 338.15°) |
| OKLab | oklab(54.8% 0.1517 -0.0552) |
| OKLCH | oklch(54.8% 0.161 340) |
| XYZ | xyz(23.6847, 14.6273, 27.1619) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.81
Purpleish
#98568D
ΔE00 5.45
Purplish
#94568C
ΔE00 6.04
Medium Purple
#9E43A2
ΔE00 6.05
Light Plum
#9D5783
ΔE00 6.19
Mediumvioletred
#C71585
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB438E #43AB60
analogous
#9443AB #AB438E #AB435A
triadic
#AB438E #8EAB43 #438EAB
tetradic
#AB438E #AB9443 #43AB60 #435AAB
square
#AB438E #AB9443 #43AB60 #435AAB
split-complementary
#AB438E #5AAB43 #43AB94
monochromatic
#532145 #7F3269 #AB438E #C468AA #D594C3
Accessibility & contrast
On white
5.35
#AB438E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#AB438E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB438E
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB438E | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#B44562
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab438e; /* rgb */ color: rgb(171, 67, 142); /* oklch */ color: oklch(54.8% 0.161 340.0);
Tailwind
colors: {
custom: {
50: '#c77daf',
500: '#ab438e',
950: '#000000',
},
}SCSS
$custom: #ab438e; $custom-light: #c77daf; $custom-dark: #000000;
JSON
{
"hex": "#ab438e",
"rgb": {
"r": 171,
"g": 67,
"b": 142
},
"hsl": {
"h": 316.731,
"s": 43.697,
"l": 46.667
},
"oklch": {
"l": 0.54798,
"c": 0.16138,
"h": 340
},
"luminance": 0.14625
}Semantic roles & 50–950 ramp
primary
#AB438E
secondary
#89C099
accent
#D37854
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F