#AB2586#AB2586

#AB2586 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.194 H 341.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB2586
RGBrgb(171, 37, 134)
HSLhsl(317, 64%, 41%)
HSVhsv(317, 78%, 67%)
CMYKcmyk(0%, 78.4%, 21.6%, 32.9%)
CIE-LABlab(40.74, 61.29, -22.41)
CIE-LCHlch(40.74, 65.26, 339.91°)
OKLaboklab(51.49% 0.1843 -0.0603)
OKLCHoklch(51.49% 0.194 341.9)
XYZxyz(21.7600, 11.7046, 23.6629)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2586 #25AB4A
analogous
#8D25AB #AB2586 #AB2543
triadic
#AB2586 #86AB25 #2586AB
tetradic
#AB2586 #AB8D25 #25AB4A #2543AB
square
#AB2586 #AB8D25 #25AB4A #2543AB
split-complementary
#AB2586 #43AB25 #25AB8D
monochromatic
#460F37 #791A5F #AB2586 #D439A9 #DF6BBF

Accessibility & contrast

On white

6.29
#AB2586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2586
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2586#FFFFFF#000000##FFFFFF
##AB25861.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2586;
/* rgb */ color: rgb(171, 37, 134);
/* oklch */ color: oklch(51.5% 0.194 341.9);
Tailwind
colors: {
  custom: {
    50: '#c86fa9',
    500: '#ab2586',
    950: '#000000',
  },
}
SCSS
$custom: #ab2586;
$custom-light: #c86fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2586",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 316.567,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51492,
    "c": 0.19386,
    "h": 341.9
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#AB2586
secondary
#67C581
accent
#E76F40
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB2586

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

Preview Lab → · Contrast checker → · Palette generator →

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