#AB2C74#AB2C74

#AB2C74 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.176 H 350.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB2C74
RGBrgb(171, 44, 116)
HSLhsl(326, 59%, 42%)
HSVhsv(326, 74%, 67%)
CMYKcmyk(0%, 74.3%, 32.2%, 32.9%)
CIE-LABlab(40.77, 56.84, -11.24)
CIE-LCHlch(40.77, 57.94, 348.82°)
OKLaboklab(51.27% 0.1737 -0.0292)
OKLCHoklch(51.27% 0.176 350.4)
XYZxyz(20.8488, 11.7227, 17.6844)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C74 #2CAB63
analogous
#A32CAB #AB2C74 #AB2C35
triadic
#AB2C74 #74AB2C #2C74AB
tetradic
#AB2C74 #ABA32C #2CAB63 #2C35AB
square
#AB2C74 #ABA32C #2CAB63 #2C35AB
split-complementary
#AB2C74 #35AB2C #2CABA3
monochromatic
#4A1332 #7A1F53 #AB2C74 #CF4593 #DC76B0

Accessibility & contrast

On white

6.28
#AB2C74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2C74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C74
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C74#FFFFFF#000000##FFFFFF
##AB2C741.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415276
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#B8244C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c74;
/* rgb */ color: rgb(171, 44, 116);
/* oklch */ color: oklch(51.3% 0.176 350.4);
Tailwind
colors: {
  custom: {
    50: '#c8719c',
    500: '#ab2c74',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c74;
$custom-light: #c8719c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c74",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 325.984,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.17619,
    "h": 350.4
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#AB2C74
secondary
#6FC394
accent
#E28946
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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