#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
RGBrgb(171, 41, 106)
HSLhsl(330, 61%, 42%)
HSVhsv(330, 76%, 67%)
CMYKcmyk(0%, 76%, 38%, 32.9%)
CIE-LABlab(40.06, 56.70, -6.06)
CIE-LCHlch(40.06, 57.02, 353.90°)
OKLaboklab(50.63% 0.1741 -0.0153)
OKLCHoklch(50.63% 0.175 355)
XYZxyz(20.1904, 11.2869, 14.7482)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##AB296A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.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

Preview Lab

Preview with #AB296A

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

Preview Lab → · Contrast checker → · Palette generator →

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