#AB2C92#AB2C92

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

Color values

HEX#AB2C92
RGBrgb(171, 44, 146)
HSLhsl(312, 59%, 42%)
HSVhsv(312, 74%, 67%)
CMYKcmyk(0%, 74.3%, 14.6%, 32.9%)
CIE-LABlab(42.06, 60.81, -27.69)
CIE-LCHlch(42.06, 66.82, 335.51°)
OKLaboklab(52.62% 0.1793 -0.0753)
OKLCHoklch(52.62% 0.194 337.2)
XYZxyz(22.8840, 12.5367, 28.4032)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C92 #2CAB45
analogous
#852CAB #AB2C92 #AB2C53
triadic
#AB2C92 #92AB2C #2C92AB
tetradic
#AB2C92 #AB852C #2CAB45 #2C53AB
square
#AB2C92 #AB852C #2CAB45 #2C53AB
split-complementary
#AB2C92 #53AB2C #2CAB85
monochromatic
#4A133F #7A1F68 #AB2C92 #CF45B4 #DC76C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2C92#FFFFFF#000000##FFFFFF
##AB2C921.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)
#305795
Deuteranopia (green-blind)
#5B6A8F
Tritanopia (blue-blind)
#B4345C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2c92;
/* rgb */ color: rgb(171, 44, 146);
/* oklch */ color: oklch(52.6% 0.194 337.2);
Tailwind
colors: {
  custom: {
    50: '#c872b2',
    500: '#ab2c92',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c92;
$custom-light: #c872b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c92",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 311.811,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52624,
    "c": 0.19446,
    "h": 337.2
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#AB2C92
secondary
#6FC380
accent
#E26446
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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