#AB2D74#AB2D74

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

Color values

HEX#AB2D74
RGBrgb(171, 45, 116)
HSLhsl(326, 58%, 42%)
HSVhsv(326, 74%, 67%)
CMYKcmyk(0%, 73.7%, 32.2%, 32.9%)
CIE-LABlab(40.89, 56.50, -11.05)
CIE-LCHlch(40.89, 57.57, 348.93°)
OKLaboklab(51.36% 0.1727 -0.0288)
OKLCHoklch(51.36% 0.175 350.5)
XYZxyz(20.8865, 11.7981, 17.6969)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D74 #2DAB64
analogous
#A32DAB #AB2D74 #AB2D35
triadic
#AB2D74 #74AB2D #2D74AB
tetradic
#AB2D74 #ABA32D #2DAB64 #2D35AB
square
#AB2D74 #ABA32D #2DAB64 #2D35AB
split-complementary
#AB2D74 #35AB2D #2DABA3
monochromatic
#4A1432 #7B2053 #AB2D74 #CE4793 #DB77B0

Accessibility & contrast

On white

6.25
#AB2D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D74
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D74#FFFFFF#000000##FFFFFF
##AB2D741.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#B8254C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d74;
/* rgb */ color: rgb(171, 45, 116);
/* oklch */ color: oklch(51.4% 0.175 350.5);
Tailwind
colors: {
  custom: {
    50: '#c8719c',
    500: '#ab2d74',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d74;
$custom-light: #c8719c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d74",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 326.19,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.17506,
    "h": 350.5
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#AB2D74
secondary
#71C395
accent
#E28A46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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