#AB349D#AB349D

#AB349D is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.193 H 333.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB349D
RGBrgb(171, 52, 157)
HSLhsl(307, 53%, 44%)
HSVhsv(307, 70%, 67%)
CMYKcmyk(0%, 69.6%, 8.2%, 32.9%)
CIE-LABlab(43.58, 59.69, -31.94)
CIE-LCHlch(43.58, 67.70, 331.85°)
OKLaboklab(53.9% 0.1721 -0.0875)
OKLCHoklch(53.9% 0.193 333)
XYZxyz(24.1085, 13.5502, 33.2375)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB349D #34AB42
analogous
#7D34AB #AB349D #AB3461
triadic
#AB349D #9DAB34 #349DAB
tetradic
#AB349D #AB7D34 #34AB42 #3461AB
square
#AB349D #AB7D34 #34AB42 #3461AB
split-complementary
#AB349D #61AB34 #34AB7D
monochromatic
#4D1747 #7C2672 #AB349D #CA52BC #D981CE

Accessibility & contrast

On white

5.66
#AB349D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB349D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB349D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB349D#FFFFFF#000000##FFFFFF
##AB349D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#5A6D9A
Tritanopia (blue-blind)
#B33F64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab349d;
/* rgb */ color: rgb(171, 52, 157);
/* oklch */ color: oklch(53.9% 0.193 333.0);
Tailwind
colors: {
  custom: {
    50: '#c776ba',
    500: '#ab349d',
    950: '#000000',
  },
}
SCSS
$custom: #ab349d;
$custom-light: #c776ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab349d",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 307.059,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.539,
    "c": 0.1931,
    "h": 333
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#AB349D
secondary
#79C282
accent
#DD5C4B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB349D

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

Preview Lab → · Contrast checker → · Palette generator →

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