#AB296F#AB296F
#AB296F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 352.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AB296F |
|---|---|
| RGB | rgb(171, 41, 111) |
| HSL | hsl(328, 61%, 42%) |
| HSV | hsv(328, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 35.1%, 32.9%) |
| CIE-LAB | lab(40.24, 57.25, -8.93) |
| CIE-LCH | lch(40.24, 57.94, 351.14°) |
| OKLab | oklab(50.82% 0.1755 -0.023) |
| OKLCH | oklch(50.82% 0.177 352.5) |
| XYZ | xyz(20.4580, 11.3940, 16.1578) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.06
Deep Magenta
#A0025C
ΔE00 5.14
Red Violet
#9E0168
ΔE00 5.21
Dark Fuchsia
#9D0759
ΔE00 5.63
Mediumvioletred
#C71585
ΔE00 5.76
Violet Red
#A50055
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB296F #29AB65
analogous
#A629AB #AB296F #AB292E
triadic
#AB296F #6FAB29 #296FAB
tetradic
#AB296F #ABA629 #29AB65 #292EAB
square
#AB296F #ABA629 #29AB65 #292EAB
split-complementary
#AB296F #2EAB29 #29ABA6
monochromatic
#48112F #7A1D4F #AB296F #D1408E #DD71AB
Accessibility & contrast
On white
6.41
#AB296F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AB296F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB296F
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB296F | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415071
Deuteranopia (green-blind)
#66676C
Tritanopia (blue-blind)
#B81D48
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab296f; /* rgb */ color: rgb(171, 41, 111); /* oklch */ color: oklch(50.8% 0.177 352.5);
Tailwind
colors: {
custom: {
50: '#c97098',
500: '#ab296f',
950: '#000000',
},
}SCSS
$custom: #ab296f; $custom-light: #c97098; $custom-dark: #000000;
JSON
{
"hex": "#ab296f",
"rgb": {
"r": 171,
"g": 41,
"b": 111
},
"hsl": {
"h": 327.692,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50819,
"c": 0.17704,
"h": 352.5
},
"luminance": 0.11392
}Semantic roles & 50–950 ramp
primary
#AB296F
secondary
#6CC494
accent
#E48E43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E