#AB348A#AB348A

#AB348A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.180 H 340.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB348A
RGBrgb(171, 52, 138)
HSLhsl(317, 53%, 44%)
HSVhsv(317, 70%, 67%)
CMYKcmyk(0%, 69.6%, 19.3%, 32.9%)
CIE-LABlab(42.69, 56.84, -21.85)
CIE-LCHlch(42.69, 60.89, 338.97°)
OKLaboklab(52.96% 0.1697 -0.0588)
OKLCHoklch(52.96% 0.18 340.9)
XYZxyz(22.6106, 12.9511, 25.3488)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB348A #34AB55
analogous
#9034AB #AB348A #AB344E
triadic
#AB348A #8AAB34 #348AAB
tetradic
#AB348A #AB9034 #34AB55 #344EAB
square
#AB348A #AB9034 #34AB55 #344EAB
split-complementary
#AB348A #4EAB34 #34AB90
monochromatic
#4D173E #7C2664 #AB348A #CA52A9 #D981C0

Accessibility & contrast

On white

5.85
#AB348A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB348A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB348A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB348A#FFFFFF#000000##FFFFFF
##AB348A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D598C
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#B5375A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab348a;
/* rgb */ color: rgb(171, 52, 138);
/* oklch */ color: oklch(53.0% 0.180 340.9);
Tailwind
colors: {
  custom: {
    50: '#c875ac',
    500: '#ab348a',
    950: '#000000',
  },
}
SCSS
$custom: #ab348a;
$custom-light: #c875ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab348a",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 316.639,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.17955,
    "h": 340.9
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#AB348A
secondary
#79C28D
accent
#DD734B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB348A

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

Preview Lab → · Contrast checker → · Palette generator →

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