#AB2C78#AB2C78

#AB2C78 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.178 H 348.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB2C78
RGBrgb(171, 44, 120)
HSLhsl(324, 59%, 42%)
HSVhsv(324, 74%, 67%)
CMYKcmyk(0%, 74.3%, 29.8%, 32.9%)
CIE-LABlab(40.92, 57.32, -13.49)
CIE-LCHlch(40.92, 58.89, 346.76°)
OKLaboklab(51.43% 0.1748 -0.0354)
OKLCHoklch(51.43% 0.178 348.5)
XYZxyz(21.0865, 11.8177, 18.9362)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C78 #2CAB5F
analogous
#9E2CAB #AB2C78 #AB2C39
triadic
#AB2C78 #78AB2C #2C78AB
tetradic
#AB2C78 #AB9E2C #2CAB5F #2C39AB
square
#AB2C78 #AB9E2C #2CAB5F #2C39AB
split-complementary
#AB2C78 #39AB2C #2CAB9E
monochromatic
#4A1334 #7A1F56 #AB2C78 #CF4598 #DC76B3

Accessibility & contrast

On white

6.24
#AB2C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C78
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C78#FFFFFF#000000##FFFFFF
##AB2C781.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#646975
Tritanopia (blue-blind)
#B7264E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c78;
/* rgb */ color: rgb(171, 44, 120);
/* oklch */ color: oklch(51.4% 0.178 348.5);
Tailwind
colors: {
  custom: {
    50: '#c8719f',
    500: '#ab2c78',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c78;
$custom-light: #c8719f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c78",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 324.094,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.1783,
    "h": 348.5
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#AB2C78
secondary
#6FC391
accent
#E28446
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C78

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

Preview Lab → · Contrast checker → · Palette generator →

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