#AB2D92#AB2D92

#AB2D92 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.193 H 337.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB2D92
RGBrgb(171, 45, 146)
HSLhsl(312, 58%, 42%)
HSVhsv(312, 74%, 67%)
CMYKcmyk(0%, 73.7%, 14.6%, 32.9%)
CIE-LABlab(42.17, 60.48, -27.51)
CIE-LCHlch(42.17, 66.44, 335.54°)
OKLaboklab(52.71% 0.1783 -0.0748)
OKLCHoklch(52.71% 0.193 337.2)
XYZxyz(22.9217, 12.6121, 28.4157)
Luminance0.1261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D92 #2DAB46
analogous
#852DAB #AB2D92 #AB2D53
triadic
#AB2D92 #92AB2D #2D92AB
tetradic
#AB2D92 #AB852D #2DAB46 #2D53AB
square
#AB2D92 #AB852D #2DAB46 #2D53AB
split-complementary
#AB2D92 #53AB2D #2DAB85
monochromatic
#4A143F #7B2069 #AB2D92 #CE47B4 #DB77C7

Accessibility & contrast

On white

5.96
#AB2D92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB2D92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D92
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D92#FFFFFF#000000##FFFFFF
##AB2D921.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#B4345C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2d92;
/* rgb */ color: rgb(171, 45, 146);
/* oklch */ color: oklch(52.7% 0.193 337.2);
Tailwind
colors: {
  custom: {
    50: '#c872b2',
    500: '#ab2d92',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d92;
$custom-light: #c872b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d92",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 311.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52707,
    "c": 0.19335,
    "h": 337.2
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#AB2D92
secondary
#71C381
accent
#E26546
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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