#AB348D#AB348D

#AB348D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.182 H 339.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AB348D
RGBrgb(171, 52, 141)
HSLhsl(315, 53%, 44%)
HSVhsv(315, 70%, 67%)
CMYKcmyk(0%, 69.6%, 17.5%, 32.9%)
CIE-LABlab(42.82, 57.27, -23.47)
CIE-LCHlch(42.82, 61.89, 337.72°)
OKLaboklab(53.1% 0.1702 -0.0633)
OKLCHoklch(53.1% 0.182 339.6)
XYZxyz(22.8308, 13.0391, 26.5085)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB348D #34AB52
analogous
#8D34AB #AB348D #AB3451
triadic
#AB348D #8DAB34 #348DAB
tetradic
#AB348D #AB8D34 #34AB52 #3451AB
square
#AB348D #AB8D34 #34AB52 #3451AB
split-complementary
#AB348D #51AB34 #34AB8D
monochromatic
#4D1740 #7C2666 #AB348D #CA52AC #D981C2

Accessibility & contrast

On white

5.82
#AB348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB348D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB348D#FFFFFF#000000##FFFFFF
##AB348D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5990
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#B5385C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab348d;
/* rgb */ color: rgb(171, 52, 141);
/* oklch */ color: oklch(53.1% 0.182 339.6);
Tailwind
colors: {
  custom: {
    50: '#c875ae',
    500: '#ab348d',
    950: '#000000',
  },
}
SCSS
$custom: #ab348d;
$custom-light: #c875ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab348d",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 315.126,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.18157,
    "h": 339.6
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#AB348D
secondary
#79C28B
accent
#DD704B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB348D

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

Preview Lab → · Contrast checker → · Palette generator →

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