#AB2585#AB2585

#AB2585 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.193 H 342.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB2585
RGBrgb(171, 37, 133)
HSLhsl(317, 64%, 41%)
HSVhsv(317, 78%, 67%)
CMYKcmyk(0%, 78.4%, 22.2%, 32.9%)
CIE-LABlab(40.70, 61.16, -21.87)
CIE-LCHlch(40.70, 64.95, 340.33°)
OKLaboklab(51.44% 0.1841 -0.0587)
OKLCHoklch(51.44% 0.193 342.3)
XYZxyz(21.6906, 11.6768, 23.2973)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2585 #25AB4B
analogous
#8E25AB #AB2585 #AB2542
triadic
#AB2585 #85AB25 #2585AB
tetradic
#AB2585 #AB8E25 #25AB4B #2542AB
square
#AB2585 #AB8E25 #25AB4B #2542AB
split-complementary
#AB2585 #42AB25 #25AB8E
monochromatic
#460F37 #791A5E #AB2585 #D439A8 #DF6BBE

Accessibility & contrast

On white

6.30
#AB2585 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2585 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2585
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2585#FFFFFF#000000##FFFFFF
##AB25851.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335288
Deuteranopia (green-blind)
#5E6882
Tritanopia (blue-blind)
#B62753
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2585;
/* rgb */ color: rgb(171, 37, 133);
/* oklch */ color: oklch(51.4% 0.193 342.3);
Tailwind
colors: {
  custom: {
    50: '#c86fa8',
    500: '#ab2585',
    950: '#000000',
  },
}
SCSS
$custom: #ab2585;
$custom-light: #c86fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2585",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 317.015,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.19325,
    "h": 342.3
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#AB2585
secondary
#67C581
accent
#E77040
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2585

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

Preview Lab → · Contrast checker → · Palette generator →

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