#AB347D#AB347D

#AB347D is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.171 H 346.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AB347D
RGBrgb(171, 52, 125)
HSLhsl(323, 53%, 44%)
HSVhsv(323, 70%, 67%)
CMYKcmyk(0%, 69.6%, 26.9%, 32.9%)
CIE-LABlab(42.15, 55.07, -14.72)
CIE-LCHlch(42.15, 57.00, 345.04°)
OKLaboklab(52.39% 0.167 -0.0389)
OKLCHoklch(52.39% 0.171 346.9)
XYZxyz(21.7252, 12.5969, 20.6854)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB347D #34AB62
analogous
#9D34AB #AB347D #AB3442
triadic
#AB347D #7DAB34 #347DAB
tetradic
#AB347D #AB9D34 #34AB62 #3442AB
square
#AB347D #AB9D34 #34AB62 #3442AB
split-complementary
#AB347D #42AB34 #34AB9D
monochromatic
#4D1738 #7C265B #AB347D #CA529C #D981B7

Accessibility & contrast

On white

5.97
#AB347D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB347D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB347D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB347D#FFFFFF#000000##FFFFFF
##AB347D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43567F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#B73154
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab347d;
/* rgb */ color: rgb(171, 52, 125);
/* oklch */ color: oklch(52.4% 0.171 346.9);
Tailwind
colors: {
  custom: {
    50: '#c875a2',
    500: '#ab347d',
    950: '#000000',
  },
}
SCSS
$custom: #ab347d;
$custom-light: #c875a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab347d",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 323.193,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.17143,
    "h": 346.9
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#AB347D
secondary
#79C295
accent
#DD834B
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB347D

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

Preview Lab → · Contrast checker → · Palette generator →

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