#AB2C94#AB2C94

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

Color values

HEX#AB2C94
RGBrgb(171, 44, 148)
HSLhsl(311, 59%, 42%)
HSVhsv(311, 74%, 67%)
CMYKcmyk(0%, 74.3%, 13.5%, 32.9%)
CIE-LABlab(42.15, 61.10, -28.75)
CIE-LCHlch(42.15, 67.53, 334.80°)
OKLaboklab(52.73% 0.1795 -0.0783)
OKLCHoklch(52.73% 0.196 336.4)
XYZxyz(23.0410, 12.5995, 29.2297)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C94 #2CAB43
analogous
#832CAB #AB2C94 #AB2C55
triadic
#AB2C94 #94AB2C #2C94AB
tetradic
#AB2C94 #AB832C #2CAB43 #2C55AB
square
#AB2C94 #AB832C #2CAB43 #2C55AB
split-complementary
#AB2C94 #55AB2C #2CAB83
monochromatic
#4A1340 #7A1F6A #AB2C94 #CF45B6 #DC76C9

Accessibility & contrast

On white

5.97
#AB2C94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C94
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C94#FFFFFF#000000##FFFFFF
##AB2C941.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#5B6A91
Tritanopia (blue-blind)
#B4355D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2c94;
/* rgb */ color: rgb(171, 44, 148);
/* oklch */ color: oklch(52.7% 0.196 336.4);
Tailwind
colors: {
  custom: {
    50: '#c872b3',
    500: '#ab2c94',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c94;
$custom-light: #c872b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c94",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 310.866,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.19585,
    "h": 336.4
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#AB2C94
secondary
#6FC37F
accent
#E26246
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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