#AB3087#AB3087

#AB3087 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.183 H 342.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB3087
RGBrgb(171, 48, 135)
HSLhsl(318, 56%, 43%)
HSVhsv(318, 72%, 67%)
CMYKcmyk(0%, 71.9%, 21.1%, 32.9%)
CIE-LABlab(42.04, 57.88, -21.02)
CIE-LCHlch(42.04, 61.58, 340.04°)
OKLaboklab(52.44% 0.1736 -0.0564)
OKLCHoklch(52.44% 0.183 342)
XYZxyz(22.2254, 12.5233, 24.1637)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3087 #30AB54
analogous
#9130AB #AB3087 #AB3049
triadic
#AB3087 #87AB30 #3087AB
tetradic
#AB3087 #AB9130 #30AB54 #3049AB
square
#AB3087 #AB9130 #30AB54 #3049AB
split-complementary
#AB3087 #49AB30 #30AB91
monochromatic
#4B153C #7B2361 #AB3087 #CD4CA7 #DA7BBE

Accessibility & contrast

On white

5.99
#AB3087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AB3087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3087
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3087#FFFFFF#000000##FFFFFF
##AB30871.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5689
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#B63257
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3087;
/* rgb */ color: rgb(171, 48, 135);
/* oklch */ color: oklch(52.4% 0.183 342.0);
Tailwind
colors: {
  custom: {
    50: '#c873aa',
    500: '#ab3087',
    950: '#000000',
  },
}
SCSS
$custom: #ab3087;
$custom-light: #c873aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3087",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 317.561,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.18253,
    "h": 342
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#AB3087
secondary
#74C38B
accent
#DF7548
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3087

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

Preview Lab → · Contrast checker → · Palette generator →

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