#AB2E93#AB2E93

#AB2E93 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.193 H 336.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB2E93
RGBrgb(171, 46, 147)
HSLhsl(312, 58%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 73.1%, 14%, 32.9%)
CIE-LABlab(42.34, 60.29, -27.86)
CIE-LCHlch(42.34, 66.41, 335.20°)
OKLaboklab(52.84% 0.1774 -0.0758)
OKLCHoklch(52.84% 0.193 336.9)
XYZxyz(23.0384, 12.7206, 28.8401)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E93 #2EAB46
analogous
#852EAB #AB2E93 #AB2E54
triadic
#AB2E93 #93AB2E #2E93AB
tetradic
#AB2E93 #AB852E #2EAB46 #2E54AB
square
#AB2E93 #AB852E #2EAB46 #2E54AB
split-complementary
#AB2E93 #54AB2E #2EAB85
monochromatic
#4B1440 #7B216A #AB2E93 #CE48B4 #DB79C8

Accessibility & contrast

On white

5.93
#AB2E93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB2E93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E93
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E93#FFFFFF#000000##FFFFFF
##AB2E931.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315896
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#B4365D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2e93;
/* rgb */ color: rgb(171, 46, 147);
/* oklch */ color: oklch(52.8% 0.193 336.9);
Tailwind
colors: {
  custom: {
    50: '#c873b3',
    500: '#ab2e93',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e93;
$custom-light: #c873b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e93",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 311.52,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.19292,
    "h": 336.9
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#AB2E93
secondary
#72C381
accent
#E16547
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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