#AB349A#AB349A

#AB349A is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.191 H 334.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB349A
RGBrgb(171, 52, 154)
HSLhsl(309, 53%, 44%)
HSVhsv(309, 70%, 67%)
CMYKcmyk(0%, 69.6%, 9.9%, 32.9%)
CIE-LABlab(43.43, 59.22, -30.37)
CIE-LCHlch(43.43, 66.55, 332.85°)
OKLaboklab(53.74% 0.1718 -0.083)
OKLCHoklch(53.74% 0.191 334.2)
XYZxyz(23.8555, 13.4490, 31.9051)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB349A #34AB45
analogous
#8034AB #AB349A #AB345E
triadic
#AB349A #9AAB34 #349AAB
tetradic
#AB349A #AB8034 #34AB45 #345EAB
square
#AB349A #AB8034 #34AB45 #345EAB
split-complementary
#AB349A #5EAB34 #34AB80
monochromatic
#4D1745 #7C2670 #AB349A #CA52B9 #D981CC

Accessibility & contrast

On white

5.69
#AB349A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB349A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB349A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB349A#FFFFFF#000000##FFFFFF
##AB349A1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325B9D
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#B33E63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab349a;
/* rgb */ color: rgb(171, 52, 154);
/* oklch */ color: oklch(53.7% 0.191 334.2);
Tailwind
colors: {
  custom: {
    50: '#c776b8',
    500: '#ab349a',
    950: '#000000',
  },
}
SCSS
$custom: #ab349a;
$custom-light: #c776b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab349a",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 308.571,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.19085,
    "h": 334.2
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#AB349A
secondary
#79C283
accent
#DD604B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB349A

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

Preview Lab → · Contrast checker → · Palette generator →

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