#AB3486#AB3486

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

Color values

HEX#AB3486
RGBrgb(171, 52, 134)
HSLhsl(319, 53%, 44%)
HSVhsv(319, 70%, 67%)
CMYKcmyk(0%, 69.6%, 21.6%, 32.9%)
CIE-LABlab(42.52, 56.28, -19.67)
CIE-LCHlch(42.52, 59.62, 340.73°)
OKLaboklab(52.78% 0.1689 -0.0527)
OKLCHoklch(52.78% 0.177 342.7)
XYZxyz(22.3264, 12.8373, 23.8517)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3486 #34AB59
analogous
#9434AB #AB3486 #AB344B
triadic
#AB3486 #86AB34 #3486AB
tetradic
#AB3486 #AB9434 #34AB59 #344BAB
square
#AB3486 #AB9434 #34AB59 #344BAB
split-complementary
#AB3486 #4BAB34 #34AB94
monochromatic
#4D173C #7C2661 #AB3486 #CA52A5 #D981BD

Accessibility & contrast

On white

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

On black

3.57
#AB3486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB3486#FFFFFF#000000##FFFFFF
##AB34861.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5888
Deuteranopia (green-blind)
#636B83
Tritanopia (blue-blind)
#B63558
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3486;
/* rgb */ color: rgb(171, 52, 134);
/* oklch */ color: oklch(52.8% 0.177 342.7);
Tailwind
colors: {
  custom: {
    50: '#c875a9',
    500: '#ab3486',
    950: '#000000',
  },
}
SCSS
$custom: #ab3486;
$custom-light: #c875a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3486",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 318.655,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.17694,
    "h": 342.7
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#AB3486
secondary
#79C290
accent
#DD784B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3486

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

Preview Lab → · Contrast checker → · Palette generator →

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