#AB3289#AB3289

#AB3289 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.181 H 341.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3289
RGBrgb(171, 50, 137)
HSLhsl(317, 55%, 43%)
HSVhsv(317, 71%, 67%)
CMYKcmyk(0%, 70.8%, 19.9%, 32.9%)
CIE-LABlab(42.38, 57.44, -21.71)
CIE-LCHlch(42.38, 61.41, 339.29°)
OKLaboklab(52.72% 0.1717 -0.0584)
OKLCHoklch(52.72% 0.181 341.2)
XYZxyz(22.4512, 12.7475, 24.9402)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3289 #32AB54
analogous
#9032AB #AB3289 #AB324C
triadic
#AB3289 #89AB32 #3289AB
tetradic
#AB3289 #AB9032 #32AB54 #324CAB
square
#AB3289 #AB9032 #32AB54 #324CAB
split-complementary
#AB3289 #4CAB32 #32AB90
monochromatic
#4C163D #7C2463 #AB3289 #CB4FA8 #D97EC0

Accessibility & contrast

On white

5.92
#AB3289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB3289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3289
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3289#FFFFFF#000000##FFFFFF
##AB32891.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588B
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#B53459
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3289;
/* rgb */ color: rgb(171, 50, 137);
/* oklch */ color: oklch(52.7% 0.181 341.2);
Tailwind
colors: {
  custom: {
    50: '#c874ab',
    500: '#ab3289',
    950: '#000000',
  },
}
SCSS
$custom: #ab3289;
$custom-light: #c874ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3289",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 316.86,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52723,
    "c": 0.18139,
    "h": 341.2
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#AB3289
secondary
#77C28C
accent
#DE734A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3289

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

Preview Lab → · Contrast checker → · Palette generator →

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