#AB3976#AB3976

#AB3976 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.161 H 351.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3976
RGBrgb(171, 57, 118)
HSLhsl(328, 50%, 45%)
HSVhsv(328, 67%, 67%)
CMYKcmyk(0%, 66.7%, 31%, 32.9%)
CIE-LABlab(42.60, 52.18, -9.71)
CIE-LCHlch(42.60, 53.08, 349.46°)
OKLaboklab(52.64% 0.159 -0.0252)
OKLCHoklch(52.64% 0.161 351)
XYZxyz(21.5288, 12.8945, 18.4911)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3976 #39AB6E
analogous
#A739AB #AB3976 #AB393D
triadic
#AB3976 #76AB39 #3976AB
tetradic
#AB3976 #ABA739 #39AB6E #393DAB
square
#AB3976 #ABA739 #39AB6E #393DAB
split-complementary
#AB3976 #3DAB39 #39ABA7
monochromatic
#4F1A37 #7D2A56 #AB3976 #C85994 #D787B2

Accessibility & contrast

On white

5.87
#AB3976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB3976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3976
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3976#FFFFFF#000000##FFFFFF
##AB39761.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#6A6C73
Tritanopia (blue-blind)
#B73352
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3976;
/* rgb */ color: rgb(171, 57, 118);
/* oklch */ color: oklch(52.6% 0.161 351.0);
Tailwind
colors: {
  custom: {
    50: '#c8779d',
    500: '#ab3976',
    950: '#000000',
  },
}
SCSS
$custom: #ab3976;
$custom-light: #c8779d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3976",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 327.895,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.16096,
    "h": 351
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#AB3976
secondary
#7FC19E
accent
#DA8F4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3976

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

Preview Lab → · Contrast checker → · Palette generator →

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