#AB3296#AB3296

#AB3296 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.4% C 0.190 H 335.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB3296
RGBrgb(171, 50, 150)
HSLhsl(310, 55%, 43%)
HSVhsv(310, 71%, 67%)
CMYKcmyk(0%, 70.8%, 12.3%, 32.9%)
CIE-LABlab(42.98, 59.34, -28.67)
CIE-LCHlch(42.98, 65.90, 334.21°)
OKLaboklab(53.35% 0.1736 -0.0781)
OKLCHoklch(53.35% 0.19 335.8)
XYZxyz(23.4405, 13.1432, 30.1506)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3296 #32AB47
analogous
#8332AB #AB3296 #AB3259
triadic
#AB3296 #96AB32 #3296AB
tetradic
#AB3296 #AB8332 #32AB47 #3259AB
square
#AB3296 #AB8332 #32AB47 #3259AB
split-complementary
#AB3296 #59AB32 #32AB83
monochromatic
#4C1643 #7C246C #AB3296 #CB4FB6 #D97EC9

Accessibility & contrast

On white

5.79
#AB3296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB3296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3296
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3296#FFFFFF#000000##FFFFFF
##AB32961.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#B43A60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3296;
/* rgb */ color: rgb(171, 50, 150);
/* oklch */ color: oklch(53.4% 0.190 335.8);
Tailwind
colors: {
  custom: {
    50: '#c875b5',
    500: '#ab3296',
    950: '#000000',
  },
}
SCSS
$custom: #ab3296;
$custom-light: #c875b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3296",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 310.413,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53352,
    "c": 0.19036,
    "h": 335.8
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#AB3296
secondary
#77C284
accent
#DE634A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3296

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

Preview Lab → · Contrast checker → · Palette generator →

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