#AB349C#AB349C

#AB349C is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.192 H 333.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AB349C
RGBrgb(171, 52, 156)
HSLhsl(308, 53%, 44%)
HSVhsv(308, 70%, 67%)
CMYKcmyk(0%, 69.6%, 8.8%, 32.9%)
CIE-LABlab(43.53, 59.53, -31.42)
CIE-LCHlch(43.53, 67.31, 332.18°)
OKLaboklab(53.85% 0.172 -0.086)
OKLCHoklch(53.85% 0.192 333.4)
XYZxyz(24.0235, 13.5162, 32.7897)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB349C #34AB43
analogous
#7E34AB #AB349C #AB3460
triadic
#AB349C #9CAB34 #349CAB
tetradic
#AB349C #AB7E34 #34AB43 #3460AB
square
#AB349C #AB7E34 #34AB43 #3460AB
split-complementary
#AB349C #60AB34 #34AB7E
monochromatic
#4D1746 #7C2671 #AB349C #CA52BB #D981CE

Accessibility & contrast

On white

5.67
#AB349C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB349C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB349C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB349C#FFFFFF#000000##FFFFFF
##AB349C1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab349c;
/* rgb */ color: rgb(171, 52, 156);
/* oklch */ color: oklch(53.8% 0.192 333.4);
Tailwind
colors: {
  custom: {
    50: '#c776b9',
    500: '#ab349c',
    950: '#000000',
  },
}
SCSS
$custom: #ab349c;
$custom-light: #c776b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab349c",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 307.563,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.19234,
    "h": 333.4
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB349C

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

Preview Lab → · Contrast checker → · Palette generator →

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