#AB2E8D#AB2E8D

#AB2E8D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.189 H 339.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB2E8D
RGBrgb(171, 46, 141)
HSLhsl(314, 58%, 43%)
HSVhsv(314, 73%, 67%)
CMYKcmyk(0%, 73.1%, 17.5%, 32.9%)
CIE-LABlab(42.06, 59.42, -24.65)
CIE-LCHlch(42.06, 64.33, 337.47°)
OKLaboklab(52.55% 0.1767 -0.0667)
OKLCHoklch(52.55% 0.189 339.3)
XYZxyz(22.5799, 12.5372, 26.4249)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E8D #2EAB4C
analogous
#8B2EAB #AB2E8D #AB2E4E
triadic
#AB2E8D #8DAB2E #2E8DAB
tetradic
#AB2E8D #AB8B2E #2EAB4C #2E4EAB
square
#AB2E8D #AB8B2E #2EAB4C #2E4EAB
split-complementary
#AB2E8D #4EAB2E #2EAB8B
monochromatic
#4B143D #7B2165 #AB2E8D #CE48AE #DB79C3

Accessibility & contrast

On white

5.99
#AB2E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB2E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E8D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E8D#FFFFFF#000000##FFFFFF
##AB2E8D1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#B5335A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2e8d;
/* rgb */ color: rgb(171, 46, 141);
/* oklch */ color: oklch(52.5% 0.189 339.3);
Tailwind
colors: {
  custom: {
    50: '#c873ae',
    500: '#ab2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e8d;
$custom-light: #c873ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e8d",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 314.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.18882,
    "h": 339.3
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#AB2E8D
secondary
#72C385
accent
#E16C47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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