#AB1C92#AB1C92

#AB1C92 is a mid, highly saturated pink. Relative luminance 0.116; OKLCH L 51.5% C 0.209 H 336.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB1C92
RGBrgb(171, 28, 146)
HSLhsl(310, 72%, 39%)
HSVhsv(310, 84%, 67%)
CMYKcmyk(0%, 83.6%, 14.6%, 32.9%)
CIE-LABlab(40.52, 65.23, -30.10)
CIE-LCHlch(40.52, 71.84, 335.23°)
OKLaboklab(51.52% 0.1925 -0.0821)
OKLCHoklch(51.52% 0.209 336.9)
XYZxyz(22.3986, 11.5660, 28.2414)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C92 #1CAB35
analogous
#7D1CAB #AB1C92 #AB1C4A
triadic
#AB1C92 #92AB1C #1C92AB
tetradic
#AB1C92 #AB7D1C #1CAB35 #1C4AAB
square
#AB1C92 #AB7D1C #1CAB35 #1C4AAB
split-complementary
#AB1C92 #4AAB1C #1CAB7D
monochromatic
#420B38 #761365 #AB1C92 #DC28BC #E45DCD

Accessibility & contrast

On white

6.34
#AB1C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB1C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C92
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C92#FFFFFF#000000##FFFFFF
##AB1C921.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#B42858
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab1c92;
/* rgb */ color: rgb(171, 28, 146);
/* oklch */ color: oklch(51.5% 0.209 336.9);
Tailwind
colors: {
  custom: {
    50: '#c86cb2',
    500: '#ab1c92',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c92;
$custom-light: #c86cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c92",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 310.49,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.2093,
    "h": 336.9
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#AB1C92
secondary
#5AC96E
accent
#EF5939
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB1C92

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

Preview Lab → · Contrast checker → · Palette generator →

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