#AB2E76#AB2E76

#AB2E76 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 349.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB2E76
RGBrgb(171, 46, 118)
HSLhsl(325, 58%, 43%)
HSVhsv(325, 73%, 67%)
CMYKcmyk(0%, 73.1%, 31%, 32.9%)
CIE-LABlab(41.09, 56.39, -12.00)
CIE-LCHlch(41.09, 57.65, 347.99°)
OKLaboklab(51.53% 0.1721 -0.0313)
OKLCHoklch(51.53% 0.175 349.7)
XYZxyz(21.0427, 11.9223, 18.3291)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E76 #2EAB63
analogous
#A22EAB #AB2E76 #AB2E37
triadic
#AB2E76 #76AB2E #2E76AB
tetradic
#AB2E76 #ABA22E #2EAB63 #2E37AB
square
#AB2E76 #ABA22E #2EAB63 #2E37AB
split-complementary
#AB2E76 #37AB2E #2EABA2
monochromatic
#4B1433 #7B2155 #AB2E76 #CE4895 #DB79B1

Accessibility & contrast

On white

6.21
#AB2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB2E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2E76
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E76#FFFFFF#000000##FFFFFF
##AB2E761.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415378
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#B8274E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2e76;
/* rgb */ color: rgb(171, 46, 118);
/* oklch */ color: oklch(51.5% 0.175 349.7);
Tailwind
colors: {
  custom: {
    50: '#c8729d',
    500: '#ab2e76',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e76;
$custom-light: #c8729d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e76",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 325.44,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.17493,
    "h": 349.7
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#AB2E76
secondary
#72C394
accent
#E18847
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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