#AB328D#AB328D

#AB328D is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.184 H 339.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB328D
RGBrgb(171, 50, 141)
HSLhsl(315, 55%, 43%)
HSVhsv(315, 71%, 67%)
CMYKcmyk(0%, 70.8%, 17.5%, 32.9%)
CIE-LABlab(42.56, 58.01, -23.88)
CIE-LCHlch(42.56, 62.73, 337.63°)
OKLaboklab(52.91% 0.1724 -0.0645)
OKLCHoklch(52.91% 0.184 339.5)
XYZxyz(22.7435, 12.8644, 26.4794)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB328D #32AB50
analogous
#8C32AB #AB328D #AB3250
triadic
#AB328D #8DAB32 #328DAB
tetradic
#AB328D #AB8C32 #32AB50 #3250AB
square
#AB328D #AB8C32 #32AB50 #3250AB
split-complementary
#AB328D #50AB32 #32AB8C
monochromatic
#4C163F #7C2466 #AB328D #CB4FAD #D97EC3

Accessibility & contrast

On white

5.88
#AB328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB328D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB328D#FFFFFF#000000##FFFFFF
##AB328D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395890
Deuteranopia (green-blind)
#606B8A
Tritanopia (blue-blind)
#B5365B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab328d;
/* rgb */ color: rgb(171, 50, 141);
/* oklch */ color: oklch(52.9% 0.184 339.5);
Tailwind
colors: {
  custom: {
    50: '#c874ae',
    500: '#ab328d',
    950: '#000000',
  },
}
SCSS
$custom: #ab328d;
$custom-light: #c874ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab328d",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 314.876,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.18406,
    "h": 339.5
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#AB328D
secondary
#77C289
accent
#DE6E4A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB328D

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

Preview Lab → · Contrast checker → · Palette generator →

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