#AB2E83#AB2E83

#AB2E83 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.182 H 343.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB2E83
RGBrgb(171, 46, 131)
HSLhsl(319, 58%, 43%)
HSVhsv(319, 73%, 67%)
CMYKcmyk(0%, 73.1%, 23.4%, 32.9%)
CIE-LABlab(41.62, 58.04, -19.22)
CIE-LCHlch(41.62, 61.14, 341.68°)
OKLaboklab(52.08% 0.175 -0.0513)
OKLCHoklch(52.08% 0.182 343.6)
XYZxyz(21.8691, 12.2529, 22.6817)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E83 #2EAB56
analogous
#952EAB #AB2E83 #AB2E44
triadic
#AB2E83 #83AB2E #2E83AB
tetradic
#AB2E83 #AB952E #2EAB56 #2E44AB
square
#AB2E83 #AB952E #2EAB56 #2E44AB
split-complementary
#AB2E83 #44AB2E #2EAB95
monochromatic
#4B1439 #7B215E #AB2E83 #CE48A3 #DB79BB

Accessibility & contrast

On white

6.09
#AB2E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB2E83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E83
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E83#FFFFFF#000000##FFFFFF
##AB2E831.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5585
Deuteranopia (green-blind)
#626A80
Tritanopia (blue-blind)
#B62E55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2e83;
/* rgb */ color: rgb(171, 46, 131);
/* oklch */ color: oklch(52.1% 0.182 343.6);
Tailwind
colors: {
  custom: {
    50: '#c872a7',
    500: '#ab2e83',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e83;
$custom-light: #c872a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e83",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 319.2,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.18238,
    "h": 343.6
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#AB2E83
secondary
#72C38C
accent
#E17847
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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