#AB3687#AB3687

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

Color values

HEX#AB3687
RGBrgb(171, 54, 135)
HSLhsl(318, 52%, 44%)
HSVhsv(318, 68%, 67%)
CMYKcmyk(0%, 68.4%, 21.1%, 32.9%)
CIE-LABlab(42.84, 55.65, -19.79)
CIE-LCHlch(42.84, 59.06, 340.42°)
OKLaboklab(53.03% 0.1668 -0.053)
OKLCHoklch(53.03% 0.175 342.4)
XYZxyz(22.4876, 13.0477, 24.2511)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3687 #36AB5A
analogous
#9536AB #AB3687 #AB364C
triadic
#AB3687 #87AB36 #3687AB
tetradic
#AB3687 #AB9536 #36AB5A #364CAB
square
#AB3687 #AB9536 #36AB5A #364CAB
split-complementary
#AB3687 #4CAB36 #36AB95
monochromatic
#4E193E #7C2762 #AB3687 #C955A5 #D883BE

Accessibility & contrast

On white

5.82
#AB3687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AB3687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3687
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3687#FFFFFF#000000##FFFFFF
##AB36871.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#646C84
Tritanopia (blue-blind)
#B63759
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3687;
/* rgb */ color: rgb(171, 54, 135);
/* oklch */ color: oklch(53.0% 0.175 342.4);
Tailwind
colors: {
  custom: {
    50: '#c876aa',
    500: '#ab3687',
    950: '#000000',
  },
}
SCSS
$custom: #ab3687;
$custom-light: #c876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3687",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 318.462,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53027,
    "c": 0.175,
    "h": 342.4
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#AB3687
secondary
#7BC291
accent
#DB784C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3687

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

Preview Lab → · Contrast checker → · Palette generator →

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