#AB349B#AB349B

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

Color values

HEX#AB349B
RGBrgb(171, 52, 155)
HSLhsl(308, 53%, 44%)
HSVhsv(308, 70%, 67%)
CMYKcmyk(0%, 69.6%, 9.4%, 32.9%)
CIE-LABlab(43.48, 59.38, -30.89)
CIE-LCHlch(43.48, 66.93, 332.51°)
OKLaboklab(53.8% 0.1719 -0.0845)
OKLCHoklch(53.8% 0.192 333.8)
XYZxyz(23.9391, 13.4825, 32.3455)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB349B #34AB44
analogous
#7F34AB #AB349B #AB345F
triadic
#AB349B #9BAB34 #349BAB
tetradic
#AB349B #AB7F34 #34AB44 #345FAB
square
#AB349B #AB7F34 #34AB44 #345FAB
split-complementary
#AB349B #5FAB34 #34AB7F
monochromatic
#4D1746 #7C2670 #AB349B #CA52BA #D981CD

Accessibility & contrast

On white

5.68
#AB349B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB349B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB349B#FFFFFF#000000##FFFFFF
##AB349B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9E
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#B33E63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab349b;
/* rgb */ color: rgb(171, 52, 155);
/* oklch */ color: oklch(53.8% 0.192 333.8);
Tailwind
colors: {
  custom: {
    50: '#c776b9',
    500: '#ab349b',
    950: '#000000',
  },
}
SCSS
$custom: #ab349b;
$custom-light: #c776b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab349b",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 308.067,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.1916,
    "h": 333.8
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB349B

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

Preview Lab → · Contrast checker → · Palette generator →

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