#AB347E#AB347E

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

Color values

HEX#AB347E
RGBrgb(171, 52, 126)
HSLhsl(323, 53%, 44%)
HSVhsv(323, 70%, 67%)
CMYKcmyk(0%, 69.6%, 26.3%, 32.9%)
CIE-LABlab(42.19, 55.20, -15.27)
CIE-LCHlch(42.19, 57.27, 344.54°)
OKLaboklab(52.43% 0.1672 -0.0404)
OKLCHoklch(52.43% 0.172 346.4)
XYZxyz(21.7894, 12.6226, 21.0235)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB347E #34AB61
analogous
#9C34AB #AB347E #AB3442
triadic
#AB347E #7EAB34 #347EAB
tetradic
#AB347E #AB9C34 #34AB61 #3442AB
square
#AB347E #AB9C34 #34AB61 #3442AB
split-complementary
#AB347E #42AB34 #34AB9C
monochromatic
#4D1739 #7C265B #AB347E #CA529D #D981B7

Accessibility & contrast

On white

5.96
#AB347E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB347E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB347E#FFFFFF#000000##FFFFFF
##AB347E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#B73154
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab347e;
/* rgb */ color: rgb(171, 52, 126);
/* oklch */ color: oklch(52.4% 0.172 346.4);
Tailwind
colors: {
  custom: {
    50: '#c875a3',
    500: '#ab347e',
    950: '#000000',
  },
}
SCSS
$custom: #ab347e;
$custom-light: #c875a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab347e",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 322.689,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.17202,
    "h": 346.4
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB347E

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

Preview Lab → · Contrast checker → · Palette generator →

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