#AB348B#AB348B

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

Color values

HEX#AB348B
RGBrgb(171, 52, 139)
HSLhsl(316, 53%, 44%)
HSVhsv(316, 70%, 67%)
CMYKcmyk(0%, 69.6%, 18.7%, 32.9%)
CIE-LABlab(42.73, 56.98, -22.39)
CIE-LCHlch(42.73, 61.22, 338.55°)
OKLaboklab(53.01% 0.1698 -0.0603)
OKLCHoklch(53.01% 0.18 340.5)
XYZxyz(22.6834, 12.9801, 25.7319)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB348B #34AB54
analogous
#8F34AB #AB348B #AB3450
triadic
#AB348B #8BAB34 #348BAB
tetradic
#AB348B #AB8F34 #34AB54 #3450AB
square
#AB348B #AB8F34 #34AB54 #3450AB
split-complementary
#AB348B #50AB34 #34AB8F
monochromatic
#4D173F #7C2665 #AB348B #CA52AA #D981C1

Accessibility & contrast

On white

5.84
#AB348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB348B
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB348B#FFFFFF#000000##FFFFFF
##AB348B1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598D
Deuteranopia (green-blind)
#616C88
Tritanopia (blue-blind)
#B5375B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab348b;
/* rgb */ color: rgb(171, 52, 139);
/* oklch */ color: oklch(53.0% 0.180 340.5);
Tailwind
colors: {
  custom: {
    50: '#c875ad',
    500: '#ab348b',
    950: '#000000',
  },
}
SCSS
$custom: #ab348b;
$custom-light: #c875ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab348b",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 316.134,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.18022,
    "h": 340.5
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB348B

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

Preview Lab → · Contrast checker → · Palette generator →

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