#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
RGBrgb(171, 41, 111)
HSLhsl(328, 61%, 42%)
HSVhsv(328, 76%, 67%)
CMYKcmyk(0%, 76%, 35.1%, 32.9%)
CIE-LABlab(40.24, 57.25, -8.93)
CIE-LCHlch(40.24, 57.94, 351.14°)
OKLaboklab(50.82% 0.1755 -0.023)
OKLCHoklch(50.82% 0.177 352.5)
XYZxyz(20.4580, 11.3940, 16.1578)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##AB296F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.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

Preview Lab

Preview with #AB296F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB296F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva