#AB2D76#AB2D76

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

Color values

HEX#AB2D76
RGBrgb(171, 45, 118)
HSLhsl(325, 58%, 42%)
HSVhsv(325, 74%, 67%)
CMYKcmyk(0%, 73.7%, 31%, 32.9%)
CIE-LABlab(40.97, 56.74, -12.18)
CIE-LCHlch(40.97, 58.03, 347.88°)
OKLaboklab(51.44% 0.1732 -0.0318)
OKLCHoklch(51.44% 0.176 349.6)
XYZxyz(21.0041, 11.8451, 18.3162)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D76 #2DAB62
analogous
#A12DAB #AB2D76 #AB2D37
triadic
#AB2D76 #76AB2D #2D76AB
tetradic
#AB2D76 #ABA12D #2DAB62 #2D37AB
square
#AB2D76 #ABA12D #2DAB62 #2D37AB
split-complementary
#AB2D76 #37AB2D #2DABA1
monochromatic
#4A1433 #7B2055 #AB2D76 #CE4795 #DB77B1

Accessibility & contrast

On white

6.23
#AB2D76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB2D76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D76
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D76#FFFFFF#000000##FFFFFF
##AB2D761.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415278
Deuteranopia (green-blind)
#656973
Tritanopia (blue-blind)
#B8264D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2d76;
/* rgb */ color: rgb(171, 45, 118);
/* oklch */ color: oklch(51.4% 0.176 349.6);
Tailwind
colors: {
  custom: {
    50: '#c8729d',
    500: '#ab2d76',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d76;
$custom-light: #c8729d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d76",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 325.238,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51439,
    "c": 0.17609,
    "h": 349.6
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#AB2D76
secondary
#71C393
accent
#E28846
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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