#AB438F#AB438F
#AB438F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.162 H 339.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB438F |
|---|---|
| RGB | rgb(171, 67, 143) |
| HSL | hsl(316, 44%, 47%) |
| HSV | hsv(316, 61%, 67%) |
| CMYK | cmyk(0%, 60.8%, 16.4%, 32.9%) |
| CIE-LAB | lab(45.16, 51.35, -21.06) |
| CIE-LCH | lch(45.16, 55.50, 337.70°) |
| OKLab | oklab(54.84% 0.1519 -0.0567) |
| OKLCH | oklch(54.84% 0.162 339.5) |
| XYZ | xyz(23.7601, 14.6574, 27.5591) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.59
Purpleish
#98568D
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 5.85
Purplish
#94568C
ΔE00 6.04
Light Plum
#9D5783
ΔE00 6.31
Mediumvioletred
#C71585
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB438F #43AB5F
analogous
#9343AB #AB438F #AB435B
triadic
#AB438F #8FAB43 #438FAB
tetradic
#AB438F #AB9343 #43AB5F #435BAB
square
#AB438F #AB9343 #43AB5F #435BAB
split-complementary
#AB438F #5BAB43 #43AB93
monochromatic
#532145 #7F326A #AB438F #C468AB #D594C3
Accessibility & contrast
On white
5.34
#AB438F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#AB438F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB438F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB438F | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#67718C
Tritanopia (blue-blind)
#B44663
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ab438f; /* rgb */ color: rgb(171, 67, 143); /* oklch */ color: oklch(54.8% 0.162 339.5);
Tailwind
colors: {
custom: {
50: '#c77db0',
500: '#ab438f',
950: '#000000',
},
}SCSS
$custom: #ab438f; $custom-light: #c77db0; $custom-dark: #000000;
JSON
{
"hex": "#ab438f",
"rgb": {
"r": 171,
"g": 67,
"b": 143
},
"hsl": {
"h": 316.154,
"s": 43.697,
"l": 46.667
},
"oklch": {
"l": 0.54842,
"c": 0.1621,
"h": 339.5
},
"luminance": 0.14655
}Semantic roles & 50–950 ramp
primary
#AB438F
secondary
#89C098
accent
#D37754
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F