#AB3487#AB3487

#AB3487 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.178 H 342.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AB3487
RGBrgb(171, 52, 135)
HSLhsl(318, 53%, 44%)
HSVhsv(318, 70%, 67%)
CMYKcmyk(0%, 69.6%, 21.1%, 32.9%)
CIE-LABlab(42.56, 56.42, -20.22)
CIE-LCHlch(42.56, 59.93, 340.28°)
OKLaboklab(52.83% 0.1691 -0.0542)
OKLCHoklch(52.83% 0.178 342.2)
XYZxyz(22.3965, 12.8654, 24.2207)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3487 #34AB58
analogous
#9334AB #AB3487 #AB344B
triadic
#AB3487 #87AB34 #3487AB
tetradic
#AB3487 #AB9334 #34AB58 #344BAB
square
#AB3487 #AB9334 #34AB58 #344BAB
split-complementary
#AB3487 #4BAB34 #34AB93
monochromatic
#4D173D #7C2662 #AB3487 #CA52A6 #D981BE

Accessibility & contrast

On white

5.88
#AB3487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3487
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3487#FFFFFF#000000##FFFFFF
##AB34871.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#636C84
Tritanopia (blue-blind)
#B63559
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3487;
/* rgb */ color: rgb(171, 52, 135);
/* oklch */ color: oklch(52.8% 0.178 342.2);
Tailwind
colors: {
  custom: {
    50: '#c875aa',
    500: '#ab3487',
    950: '#000000',
  },
}
SCSS
$custom: #ab3487;
$custom-light: #c875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3487",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 318.151,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.17758,
    "h": 342.2
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#AB3487
secondary
#79C28F
accent
#DD774B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3487

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

Preview Lab → · Contrast checker → · Palette generator →

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