#AB296A#AB296A
#AB296A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.175 H 355.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AB296A |
|---|---|
| RGB | rgb(171, 41, 106) |
| HSL | hsl(330, 61%, 42%) |
| HSV | hsv(330, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 38%, 32.9%) |
| CIE-LAB | lab(40.06, 56.70, -6.06) |
| CIE-LCH | lch(40.06, 57.02, 353.90°) |
| OKLab | oklab(50.63% 0.1741 -0.0153) |
| OKLCH | oklch(50.63% 0.175 355) |
| XYZ | xyz(20.1904, 11.2869, 14.7482) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.51
Deep Magenta
#A0025C
ΔE00 4.78
Violet Red
#A50055
ΔE00 5.14
Dark Fuchsia
#9D0759
ΔE00 5.16
Red Violet
#9E0168
ΔE00 5.65
Mediumvioletred
#C71585
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB296A #29AB6A
analogous
#AB29AB #AB296A #AB2929
triadic
#AB296A #6AAB29 #296AAB
tetradic
#AB296A #ABAB29 #29AB6A #2929AB
square
#AB296A #ABAB29 #29AB6A #2929AB
split-complementary
#AB296A #29AB29 #29ABAB
monochromatic
#48112D #7A1D4B #AB296A #D14089 #DD71A7
Accessibility & contrast
On white
6.45
#AB296A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AB296A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB296A
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB296A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB296A | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#434F6C
Deuteranopia (green-blind)
#676767
Tritanopia (blue-blind)
#B91946
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab296a; /* rgb */ color: rgb(171, 41, 106); /* oklch */ color: oklch(50.6% 0.175 355.0);
Tailwind
colors: {
custom: {
50: '#c96f94',
500: '#ab296a',
950: '#000000',
},
}SCSS
$custom: #ab296a; $custom-light: #c96f94; $custom-dark: #000000;
JSON
{
"hex": "#ab296a",
"rgb": {
"r": 171,
"g": 41,
"b": 106
},
"hsl": {
"h": 330,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50632,
"c": 0.17478,
"h": 355
},
"luminance": 0.11284
}Semantic roles & 50–950 ramp
primary
#AB296A
secondary
#6CC498
accent
#E49443
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E