#AB2976#AB2976

#AB2976 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.181 H 349.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AB2976
RGBrgb(171, 41, 118)
HSLhsl(324, 61%, 42%)
HSVhsv(324, 76%, 67%)
CMYKcmyk(0%, 76%, 31%, 32.9%)
CIE-LABlab(40.50, 58.06, -12.90)
CIE-LCHlch(40.50, 59.48, 347.48°)
OKLaboklab(51.1% 0.1774 -0.0338)
OKLCHoklch(51.1% 0.181 349.2)
XYZxyz(20.8587, 11.5542, 18.2678)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2976 #29AB5E
analogous
#9F29AB #AB2976 #AB2935
triadic
#AB2976 #76AB29 #2976AB
tetradic
#AB2976 #AB9F29 #29AB5E #2935AB
square
#AB2976 #AB9F29 #29AB5E #2935AB
split-complementary
#AB2976 #35AB29 #29AB9F
monochromatic
#481132 #7A1D54 #AB2976 #D14096 #DD71B1

Accessibility & contrast

On white

6.34
#AB2976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AB2976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2976
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2976#FFFFFF#000000##FFFFFF
##AB29761.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#646873
Tritanopia (blue-blind)
#B8214C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2976;
/* rgb */ color: rgb(171, 41, 118);
/* oklch */ color: oklch(51.1% 0.181 349.2);
Tailwind
colors: {
  custom: {
    50: '#c8709d',
    500: '#ab2976',
    950: '#000000',
  },
}
SCSS
$custom: #ab2976;
$custom-light: #c8709d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2976",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 324.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51096,
    "c": 0.18054,
    "h": 349.2
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#AB2976
secondary
#6CC490
accent
#E48543
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2976

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

Preview Lab → · Contrast checker → · Palette generator →

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