#AB2E92#AB2E92

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

Color values

HEX#AB2E92
RGBrgb(171, 46, 146)
HSLhsl(312, 58%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 73.1%, 14.6%, 32.9%)
CIE-LABlab(42.29, 60.14, -27.33)
CIE-LCHlch(42.29, 66.06, 335.56°)
OKLaboklab(52.79% 0.1773 -0.0743)
OKLCHoklch(52.79% 0.192 337.3)
XYZxyz(22.9603, 12.6894, 28.4286)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E92 #2EAB47
analogous
#862EAB #AB2E92 #AB2E53
triadic
#AB2E92 #92AB2E #2E92AB
tetradic
#AB2E92 #AB862E #2EAB47 #2E53AB
square
#AB2E92 #AB862E #2EAB47 #2E53AB
split-complementary
#AB2E92 #53AB2E #2EAB86
monochromatic
#4B1440 #7B2169 #AB2E92 #CE48B3 #DB79C7

Accessibility & contrast

On white

5.94
#AB2E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E92
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E92#FFFFFF#000000##FFFFFF
##AB2E921.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325895
Deuteranopia (green-blind)
#5C6B8F
Tritanopia (blue-blind)
#B4355C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2e92;
/* rgb */ color: rgb(171, 46, 146);
/* oklch */ color: oklch(52.8% 0.192 337.3);
Tailwind
colors: {
  custom: {
    50: '#c873b2',
    500: '#ab2e92',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e92;
$custom-light: #c873b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e92",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 312,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.19223,
    "h": 337.3
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#AB2E92
secondary
#72C382
accent
#E16647
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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