#AB296C#AB296C

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

Color values

HEX#AB296C
RGBrgb(171, 41, 108)
HSLhsl(329, 61%, 42%)
HSVhsv(329, 76%, 67%)
CMYKcmyk(0%, 76%, 36.8%, 32.9%)
CIE-LABlab(40.13, 56.92, -7.21)
CIE-LCHlch(40.13, 57.37, 352.78°)
OKLaboklab(50.71% 0.1747 -0.0183)
OKLCHoklch(50.71% 0.176 354)
XYZxyz(20.2956, 11.3290, 15.3024)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB296C #29AB68
analogous
#A929AB #AB296C #AB292B
triadic
#AB296C #6CAB29 #296CAB
tetradic
#AB296C #ABA929 #29AB68 #292BAB
square
#AB296C #ABA929 #29AB68 #292BAB
split-complementary
#AB296C #2BAB29 #29ABA9
monochromatic
#48112E #7A1D4D #AB296C #D1408B #DD71A9

Accessibility & contrast

On white

6.43
#AB296C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB296C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB296C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB296C#FFFFFF#000000##FFFFFF
##AB296C1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6E
Deuteranopia (green-blind)
#676769
Tritanopia (blue-blind)
#B91B47
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab296c;
/* rgb */ color: rgb(171, 41, 108);
/* oklch */ color: oklch(50.7% 0.176 354.0);
Tailwind
colors: {
  custom: {
    50: '#c97096',
    500: '#ab296c',
    950: '#000000',
  },
}
SCSS
$custom: #ab296c;
$custom-light: #c97096;
$custom-dark: #000000;
JSON
{
  "hex": "#ab296c",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 329.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.17566,
    "h": 354
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB296C

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

Preview Lab → · Contrast checker → · Palette generator →

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