#AB2977#AB2977

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

Color values

HEX#AB2977
RGBrgb(171, 41, 119)
HSLhsl(324, 61%, 42%)
HSVhsv(324, 76%, 67%)
CMYKcmyk(0%, 76%, 30.4%, 32.9%)
CIE-LABlab(40.54, 58.18, -13.46)
CIE-LCHlch(40.54, 59.72, 346.98°)
OKLaboklab(51.14% 0.1776 -0.0353)
OKLCHoklch(51.14% 0.181 348.8)
XYZxyz(20.9184, 11.5781, 18.5824)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2977 #29AB5D
analogous
#9E29AB #AB2977 #AB2936
triadic
#AB2977 #77AB29 #2977AB
tetradic
#AB2977 #AB9E29 #29AB5D #2936AB
square
#AB2977 #AB9E29 #29AB5D #2936AB
split-complementary
#AB2977 #36AB29 #29AB9E
monochromatic
#481132 #7A1D55 #AB2977 #D14097 #DD71B2

Accessibility & contrast

On white

6.33
#AB2977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB2977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2977
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2977#FFFFFF#000000##FFFFFF
##AB29771.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#646874
Tritanopia (blue-blind)
#B8224D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2977;
/* rgb */ color: rgb(171, 41, 119);
/* oklch */ color: oklch(51.1% 0.181 348.8);
Tailwind
colors: {
  custom: {
    50: '#c8709e',
    500: '#ab2977',
    950: '#000000',
  },
}
SCSS
$custom: #ab2977;
$custom-light: #c8709e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2977",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 324,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51137,
    "c": 0.18107,
    "h": 348.8
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#AB2977
secondary
#6CC48F
accent
#E48443
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2977

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

Preview Lab → · Contrast checker → · Palette generator →

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