#AB347F#AB347F

#AB347F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.173 H 345.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB347F
RGBrgb(171, 52, 127)
HSLhsl(322, 53%, 44%)
HSVhsv(322, 70%, 67%)
CMYKcmyk(0%, 69.6%, 25.7%, 32.9%)
CIE-LABlab(42.23, 55.33, -15.82)
CIE-LCHlch(42.23, 57.55, 344.04°)
OKLaboklab(52.48% 0.1674 -0.0419)
OKLCHoklch(52.48% 0.173 345.9)
XYZxyz(21.8542, 12.6485, 21.3650)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB347F #34AB60
analogous
#9B34AB #AB347F #AB3443
triadic
#AB347F #7FAB34 #347FAB
tetradic
#AB347F #AB9B34 #34AB60 #3443AB
square
#AB347F #AB9B34 #34AB60 #3443AB
split-complementary
#AB347F #43AB34 #34AB9B
monochromatic
#4D1739 #7C265C #AB347F #CA529E #D981B8

Accessibility & contrast

On white

5.95
#AB347F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB347F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB347F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB347F#FFFFFF#000000##FFFFFF
##AB347F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425781
Deuteranopia (green-blind)
#656B7C
Tritanopia (blue-blind)
#B73255
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab347f;
/* rgb */ color: rgb(171, 52, 127);
/* oklch */ color: oklch(52.5% 0.173 345.9);
Tailwind
colors: {
  custom: {
    50: '#c875a4',
    500: '#ab347f',
    950: '#000000',
  },
}
SCSS
$custom: #ab347f;
$custom-light: #c875a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab347f",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 322.185,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.17261,
    "h": 345.9
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#AB347F
secondary
#79C294
accent
#DD814B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB347F

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

Preview Lab → · Contrast checker → · Palette generator →

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