#AB296B#AB296B

#AB296B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.175 H 354.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB296B
RGBrgb(171, 41, 107)
HSLhsl(330, 61%, 42%)
HSVhsv(330, 76%, 67%)
CMYKcmyk(0%, 76%, 37.4%, 32.9%)
CIE-LABlab(40.09, 56.81, -6.63)
CIE-LCHlch(40.09, 57.19, 353.34°)
OKLaboklab(50.67% 0.1744 -0.0168)
OKLCHoklch(50.67% 0.175 354.5)
XYZxyz(20.2427, 11.3078, 15.0237)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB296B #29AB69
analogous
#AA29AB #AB296B #AB292A
triadic
#AB296B #6BAB29 #296BAB
tetradic
#AB296B #ABAA29 #29AB69 #292AAB
square
#AB296B #ABAA29 #29AB69 #292AAB
split-complementary
#AB296B #2AAB29 #29ABAA
monochromatic
#48112D #7A1D4C #AB296B #D1408A #DD71A8

Accessibility & contrast

On white

6.44
#AB296B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB296B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB296B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB296B#FFFFFF#000000##FFFFFF
##AB296B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6D
Deuteranopia (green-blind)
#676768
Tritanopia (blue-blind)
#B91A46
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab296b;
/* rgb */ color: rgb(171, 41, 107);
/* oklch */ color: oklch(50.7% 0.175 354.5);
Tailwind
colors: {
  custom: {
    50: '#c96f95',
    500: '#ab296b',
    950: '#000000',
  },
}
SCSS
$custom: #ab296b;
$custom-light: #c96f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab296b",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 329.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.17522,
    "h": 354.5
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#AB296B
secondary
#6CC497
accent
#E49343
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB296B

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

Preview Lab → · Contrast checker → · Palette generator →

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