#AB347B#AB347B

#AB347B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.170 H 347.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB347B
RGBrgb(171, 52, 123)
HSLhsl(324, 53%, 44%)
HSVhsv(324, 70%, 67%)
CMYKcmyk(0%, 69.6%, 28.1%, 32.9%)
CIE-LABlab(42.07, 54.81, -13.60)
CIE-LCHlch(42.07, 56.47, 346.06°)
OKLaboklab(52.31% 0.1665 -0.0358)
OKLCHoklch(52.31% 0.17 347.9)
XYZxyz(21.5987, 12.5463, 20.0193)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB347B #34AB64
analogous
#9F34AB #AB347B #AB343F
triadic
#AB347B #7BAB34 #347BAB
tetradic
#AB347B #AB9F34 #34AB64 #343FAB
square
#AB347B #AB9F34 #34AB64 #343FAB
split-complementary
#AB347B #3FAB34 #34AB9F
monochromatic
#4D1737 #7C2659 #AB347B #CA529A #D981B5

Accessibility & contrast

On white

5.98
#AB347B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB347B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB347B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB347B#FFFFFF#000000##FFFFFF
##AB347B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#666B78
Tritanopia (blue-blind)
#B73053
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab347b;
/* rgb */ color: rgb(171, 52, 123);
/* oklch */ color: oklch(52.3% 0.170 347.9);
Tailwind
colors: {
  custom: {
    50: '#c875a1',
    500: '#ab347b',
    950: '#000000',
  },
}
SCSS
$custom: #ab347b;
$custom-light: #c875a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab347b",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 324.202,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.17029,
    "h": 347.9
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#AB347B
secondary
#79C296
accent
#DD864B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB347B

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

Preview Lab → · Contrast checker → · Palette generator →

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