#AB3588#AB3588

#AB3588 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.177 H 341.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AB3588
RGBrgb(171, 53, 136)
HSLhsl(318, 53%, 44%)
HSVhsv(318, 69%, 67%)
CMYKcmyk(0%, 69%, 20.5%, 32.9%)
CIE-LABlab(42.74, 56.17, -20.55)
CIE-LCHlch(42.74, 59.82, 339.91°)
OKLaboklab(52.97% 0.1681 -0.0551)
OKLCHoklch(52.97% 0.177 341.8)
XYZxyz(22.5123, 12.9839, 24.6083)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3588 #35AB58
analogous
#9335AB #AB3588 #AB354D
triadic
#AB3588 #88AB35 #3588AB
tetradic
#AB3588 #AB9335 #35AB58 #354DAB
square
#AB3588 #AB9335 #35AB58 #354DAB
split-complementary
#AB3588 #4DAB35 #35AB93
monochromatic
#4E183E #7C2763 #AB3588 #CA53A7 #D882BF

Accessibility & contrast

On white

5.84
#AB3588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB3588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3588
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3588#FFFFFF#000000##FFFFFF
##AB35881.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598A
Deuteranopia (green-blind)
#636C85
Tritanopia (blue-blind)
#B5375A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3588;
/* rgb */ color: rgb(171, 53, 136);
/* oklch */ color: oklch(53.0% 0.177 341.8);
Tailwind
colors: {
  custom: {
    50: '#c876ab',
    500: '#ab3588',
    950: '#000000',
  },
}
SCSS
$custom: #ab3588;
$custom-light: #c876ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3588",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 136
  },
  "hsl": {
    "h": 317.797,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.17695,
    "h": 341.8
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#AB3588
secondary
#7AC28F
accent
#DC774C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3588

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

Preview Lab → · Contrast checker → · Palette generator →

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