#AB295A#AB295A
#AB295A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 3.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB295A |
|---|---|
| RGB | rgb(171, 41, 90) |
| HSL | hsl(337, 61%, 42%) |
| HSV | hsv(337, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 47.4%, 32.9%) |
| CIE-LAB | lab(39.55, 55.11, 3.30) |
| CIE-LCH | lch(39.55, 55.21, 3.42°) |
| OKLab | oklab(50.1% 0.1688 0.009) |
| OKLCH | oklch(50.1% 0.169 3.1) |
| XYZ | xyz(19.4346, 10.9846, 10.7677) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.05
Violet Red
#A50055
ΔE00 4.27
Raspberry (survey)
#B00149
ΔE00 4.51
Light Burgundy
#A8415B
ΔE00 4.75
Berry
#990F4B
ΔE00 5.33
Deep Pink
#CB0162
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB295A #29AB7A
analogous
#AB299B #AB295A #AB3929
triadic
#AB295A #5AAB29 #295AAB
tetradic
#AB295A #9BAB29 #29AB7A #3929AB
square
#AB295A #9BAB29 #29AB7A #3929AB
split-complementary
#AB295A #29AB39 #299BAB
monochromatic
#481126 #7A1D40 #AB295A #D14077 #DD719A
Accessibility & contrast
On white
6.57
#AB295A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AB295A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB295A
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB295A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB295A | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BA0C3E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab295a; /* rgb */ color: rgb(171, 41, 90); /* oklch */ color: oklch(50.1% 0.169 3.1);
Tailwind
colors: {
custom: {
50: '#ca6f88',
500: '#ab295a',
950: '#000000',
},
}SCSS
$custom: #ab295a; $custom-light: #ca6f88; $custom-dark: #000000;
JSON
{
"hex": "#ab295a",
"rgb": {
"r": 171,
"g": 41,
"b": 90
},
"hsl": {
"h": 337.385,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50096,
"c": 0.16908,
"h": 3.1
},
"luminance": 0.10982
}Semantic roles & 50–950 ramp
primary
#AB295A
secondary
#6CC4A3
accent
#E4A843
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C