#AB2785#AB2785

#AB2785 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.191 H 342.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB2785
RGBrgb(171, 39, 133)
HSLhsl(317, 63%, 41%)
HSVhsv(317, 77%, 67%)
CMYKcmyk(0%, 77.2%, 22.2%, 32.9%)
CIE-LABlab(40.90, 60.57, -21.55)
CIE-LCHlch(40.90, 64.29, 340.42°)
OKLaboklab(51.6% 0.1823 -0.0578)
OKLCHoklch(51.6% 0.191 342.4)
XYZxyz(21.7545, 11.8047, 23.3186)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2785 #27AB4D
analogous
#8F27AB #AB2785 #AB2743
triadic
#AB2785 #85AB27 #2785AB
tetradic
#AB2785 #AB8F27 #27AB4D #2743AB
square
#AB2785 #AB8F27 #27AB4D #2743AB
split-complementary
#AB2785 #43AB27 #27AB8F
monochromatic
#471037 #791C5E #AB2785 #D33DA7 #DE6EBE

Accessibility & contrast

On white

6.25
#AB2785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2785
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2785#FFFFFF#000000##FFFFFF
##AB27851.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355387
Deuteranopia (green-blind)
#5F6882
Tritanopia (blue-blind)
#B62853
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2785;
/* rgb */ color: rgb(171, 39, 133);
/* oklch */ color: oklch(51.6% 0.191 342.4);
Tailwind
colors: {
  custom: {
    50: '#c870a8',
    500: '#ab2785',
    950: '#000000',
  },
}
SCSS
$custom: #ab2785;
$custom-light: #c870a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2785",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 317.273,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.19125,
    "h": 342.4
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#AB2785
secondary
#69C583
accent
#E67142
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2785

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

Preview Lab → · Contrast checker → · Palette generator →

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