#AB3582#AB3582

#AB3582 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.173 H 344.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3582
RGBrgb(171, 53, 130)
HSLhsl(321, 53%, 44%)
HSVhsv(321, 69%, 67%)
CMYKcmyk(0%, 69%, 24%, 32.9%)
CIE-LABlab(42.49, 55.35, -17.27)
CIE-LCHlch(42.49, 57.98, 342.67°)
OKLaboklab(52.71% 0.1669 -0.0459)
OKLCHoklch(52.71% 0.173 344.6)
XYZxyz(22.0978, 12.8181, 22.4251)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3582 #35AB5E
analogous
#9935AB #AB3582 #AB3547
triadic
#AB3582 #82AB35 #3582AB
tetradic
#AB3582 #AB9935 #35AB5E #3547AB
square
#AB3582 #AB9935 #35AB5E #3547AB
split-complementary
#AB3582 #47AB35 #35AB99
monochromatic
#4E183B #7C275E #AB3582 #CA53A1 #D882BA

Accessibility & contrast

On white

5.89
#AB3582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3582
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3582#FFFFFF#000000##FFFFFF
##AB35821.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#656C7F
Tritanopia (blue-blind)
#B63457
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3582;
/* rgb */ color: rgb(171, 53, 130);
/* oklch */ color: oklch(52.7% 0.173 344.6);
Tailwind
colors: {
  custom: {
    50: '#c876a6',
    500: '#ab3582',
    950: '#000000',
  },
}
SCSS
$custom: #ab3582;
$custom-light: #c876a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3582",
  "rgb": {
    "r": 171,
    "g": 53,
    "b": 130
  },
  "hsl": {
    "h": 320.847,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.17313,
    "h": 344.6
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#AB3582
secondary
#7AC293
accent
#DC7E4C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3582

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

Preview Lab → · Contrast checker → · Palette generator →

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