#AB2D88#AB2D88

#AB2D88 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.187 H 341.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB2D88
RGBrgb(171, 45, 136)
HSLhsl(317, 58%, 42%)
HSVhsv(317, 74%, 67%)
CMYKcmyk(0%, 73.7%, 20.5%, 32.9%)
CIE-LABlab(41.71, 59.06, -22.14)
CIE-LCHlch(41.71, 63.07, 339.45°)
OKLaboklab(52.22% 0.1769 -0.0595)
OKLCHoklch(52.22% 0.187 341.4)
XYZxyz(22.1776, 12.3145, 24.4967)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D88 #2DAB50
analogous
#8F2DAB #AB2D88 #AB2D49
triadic
#AB2D88 #88AB2D #2D88AB
tetradic
#AB2D88 #AB8F2D #2DAB50 #2D49AB
square
#AB2D88 #AB8F2D #2DAB50 #2D49AB
split-complementary
#AB2D88 #49AB2D #2DAB8F
monochromatic
#4A143B #7B2061 #AB2D88 #CE47A9 #DB77BF

Accessibility & contrast

On white

6.07
#AB2D88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB2D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D88
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D88#FFFFFF#000000##FFFFFF
##AB2D881.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38558A
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#B62F57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2d88;
/* rgb */ color: rgb(171, 45, 136);
/* oklch */ color: oklch(52.2% 0.187 341.4);
Tailwind
colors: {
  custom: {
    50: '#c872ab',
    500: '#ab2d88',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d88;
$custom-light: #c872ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d88",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 316.667,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.18668,
    "h": 341.4
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#AB2D88
secondary
#71C388
accent
#E27146
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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