#AB4B95#AB4B95
#AB4B95 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.1% C 0.154 H 337.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4B95 |
|---|---|
| RGB | rgb(171, 75, 149) |
| HSL | hsl(314, 39%, 48%) |
| HSV | hsv(314, 56%, 67%) |
| CMYK | cmyk(0%, 56.1%, 12.9%, 32.9%) |
| CIE-LAB | lab(46.79, 48.57, -22.15) |
| CIE-LCH | lch(46.79, 53.38, 335.49°) |
| OKLab | oklab(56.13% 0.142 -0.0598) |
| OKLCH | oklch(56.13% 0.154 337.2) |
| XYZ | xyz(24.7357, 15.8619, 30.1868) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.43
Purpleish
#98568D
ΔE00 4.54
Purplish
#94568C
ΔE00 5.25
Medium Purple
#9E43A2
ΔE00 5.64
Light Plum
#9D5783
ΔE00 5.87
Light Eggplant
#894585
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4B95 #4BAB61
analogous
#914BAB #AB4B95 #AB4B65
triadic
#AB4B95 #95AB4B #4B95AB
tetradic
#AB4B95 #AB914B #4BAB61 #4B65AB
square
#AB4B95 #AB914B #4BAB61 #4B65AB
split-complementary
#AB4B95 #65AB4B #4BAB91
monochromatic
#56264B #803870 #AB4B95 #C172AF #D49DC7
Accessibility & contrast
On white
5.03
#AB4B95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#AB4B95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4B95
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4B95 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6697
Deuteranopia (green-blind)
#697492
Tritanopia (blue-blind)
#B34F69
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ab4b95; /* rgb */ color: rgb(171, 75, 149); /* oklch */ color: oklch(56.1% 0.154 337.2);
Tailwind
colors: {
custom: {
50: '#c682b4',
500: '#ab4b95',
950: '#000000',
},
}SCSS
$custom: #ab4b95; $custom-light: #c682b4; $custom-dark: #000000;
JSON
{
"hex": "#ab4b95",
"rgb": {
"r": 171,
"g": 75,
"b": 149
},
"hsl": {
"h": 313.75,
"s": 39.024,
"l": 48.235
},
"oklch": {
"l": 0.56128,
"c": 0.15413,
"h": 337.2
},
"luminance": 0.1586
}Semantic roles & 50–950 ramp
primary
#AB4B95
secondary
#91C09C
accent
#CF7459
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80