#AB328B#AB328B

#AB328B is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.183 H 340.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AB328B
RGBrgb(171, 50, 139)
HSLhsl(316, 55%, 43%)
HSVhsv(316, 71%, 67%)
CMYKcmyk(0%, 70.8%, 18.7%, 32.9%)
CIE-LABlab(42.47, 57.72, -22.80)
CIE-LCHlch(42.47, 62.06, 338.45°)
OKLaboklab(52.82% 0.1721 -0.0614)
OKLCHoklch(52.82% 0.183 340.4)
XYZxyz(22.5960, 12.8054, 25.7028)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB328B #32AB52
analogous
#8E32AB #AB328B #AB324E
triadic
#AB328B #8BAB32 #328BAB
tetradic
#AB328B #AB8E32 #32AB52 #324EAB
square
#AB328B #AB8E32 #32AB52 #324EAB
split-complementary
#AB328B #4EAB32 #32AB8E
monochromatic
#4C163E #7C2465 #AB328B #CB4FAA #D97EC1

Accessibility & contrast

On white

5.90
#AB328B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB328B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB328B
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB328B#FFFFFF#000000##FFFFFF
##AB328B1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#B5355A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab328b;
/* rgb */ color: rgb(171, 50, 139);
/* oklch */ color: oklch(52.8% 0.183 340.4);
Tailwind
colors: {
  custom: {
    50: '#c874ad',
    500: '#ab328b',
    950: '#000000',
  },
}
SCSS
$custom: #ab328b;
$custom-light: #c874ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab328b",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 315.868,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.18272,
    "h": 340.4
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#AB328B
secondary
#77C28B
accent
#DE714A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB328B

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

Preview Lab → · Contrast checker → · Palette generator →

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