#AB2685#AB2685

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

Color values

HEX#AB2685
RGBrgb(171, 38, 133)
HSLhsl(317, 64%, 41%)
HSVhsv(317, 78%, 67%)
CMYKcmyk(0%, 77.8%, 22.2%, 32.9%)
CIE-LABlab(40.80, 60.87, -21.71)
CIE-LCHlch(40.80, 64.63, 340.37°)
OKLaboklab(51.52% 0.1832 -0.0583)
OKLCHoklch(51.52% 0.192 342.4)
XYZxyz(21.7221, 11.7399, 23.3078)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2685 #26AB4C
analogous
#8E26AB #AB2685 #AB2642
triadic
#AB2685 #85AB26 #2685AB
tetradic
#AB2685 #AB8E26 #26AB4C #2642AB
square
#AB2685 #AB8E26 #26AB4C #2642AB
split-complementary
#AB2685 #42AB26 #26AB8E
monochromatic
#471037 #791B5E #AB2685 #D33BA8 #DF6DBE

Accessibility & contrast

On white

6.27
#AB2685 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2685 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2685
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2685#FFFFFF#000000##FFFFFF
##AB26851.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2685;
/* rgb */ color: rgb(171, 38, 133);
/* oklch */ color: oklch(51.5% 0.192 342.4);
Tailwind
colors: {
  custom: {
    50: '#c86fa8',
    500: '#ab2685',
    950: '#000000',
  },
}
SCSS
$custom: #ab2685;
$custom-light: #c86fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2685",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 317.143,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51519,
    "c": 0.19226,
    "h": 342.4
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#AB2685
secondary
#68C582
accent
#E77041
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AB2685

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

Preview Lab → · Contrast checker → · Palette generator →

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