#AB2B8D#AB2B8D

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

Color values

HEX#AB2B8D
RGBrgb(171, 43, 141)
HSLhsl(314, 60%, 42%)
HSVhsv(314, 75%, 67%)
CMYKcmyk(0%, 74.9%, 17.5%, 32.9%)
CIE-LABlab(41.71, 60.42, -25.20)
CIE-LCHlch(41.71, 65.46, 337.36°)
OKLaboklab(52.29% 0.1797 -0.0682)
OKLCHoklch(52.29% 0.192 339.2)
XYZxyz(22.4668, 12.3110, 26.3872)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B8D #2BAB49
analogous
#892BAB #AB2B8D #AB2B4D
triadic
#AB2B8D #8DAB2B #2B8DAB
tetradic
#AB2B8D #AB892B #2BAB49 #2B4DAB
square
#AB2B8D #AB892B #2BAB49 #2B4DAB
split-complementary
#AB2B8D #4DAB2B #2BAB89
monochromatic
#49123C #7A1F65 #AB2B8D #D043AF #DC74C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2B8D#FFFFFF#000000##FFFFFF
##AB2B8D1.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)
#335690
Deuteranopia (green-blind)
#5D6A8A
Tritanopia (blue-blind)
#B53059
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2b8d;
/* rgb */ color: rgb(171, 43, 141);
/* oklch */ color: oklch(52.3% 0.192 339.2);
Tailwind
colors: {
  custom: {
    50: '#c871ae',
    500: '#ab2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b8d;
$custom-light: #c871ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b8d",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 314.063,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52293,
    "c": 0.19217,
    "h": 339.2
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#AB2B8D
secondary
#6EC482
accent
#E36A45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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