#AB327E#AB327E

#AB327E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.175 H 346.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB327E
RGBrgb(171, 50, 126)
HSLhsl(322, 55%, 43%)
HSVhsv(322, 71%, 67%)
CMYKcmyk(0%, 70.8%, 26.3%, 32.9%)
CIE-LABlab(41.92, 55.95, -15.68)
CIE-LCHlch(41.92, 58.11, 344.34°)
OKLaboklab(52.24% 0.1695 -0.0415)
OKLCHoklch(52.24% 0.175 346.2)
XYZxyz(21.7020, 12.4478, 20.9944)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB327E #32AB5F
analogous
#9B32AB #AB327E #AB3241
triadic
#AB327E #7EAB32 #327EAB
tetradic
#AB327E #AB9B32 #32AB5F #3241AB
square
#AB327E #AB9B32 #32AB5F #3241AB
split-complementary
#AB327E #41AB32 #32AB9B
monochromatic
#4C1638 #7C245B #AB327E #CB4F9D #D97EB7

Accessibility & contrast

On white

6.02
#AB327E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB327E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB327E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB327E#FFFFFF#000000##FFFFFF
##AB327E1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#656A7B
Tritanopia (blue-blind)
#B72F53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab327e;
/* rgb */ color: rgb(171, 50, 126);
/* oklch */ color: oklch(52.2% 0.175 346.2);
Tailwind
colors: {
  custom: {
    50: '#c874a3',
    500: '#ab327e',
    950: '#000000',
  },
}
SCSS
$custom: #ab327e;
$custom-light: #c874a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab327e",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 322.314,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52236,
    "c": 0.17455,
    "h": 346.2
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#AB327E
secondary
#77C293
accent
#DE814A
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB327E

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

Preview Lab → · Contrast checker → · Palette generator →

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