#AB2979#AB2979

#AB2979 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.182 H 347.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB2979
RGBrgb(171, 41, 121)
HSLhsl(323, 61%, 42%)
HSVhsv(323, 76%, 67%)
CMYKcmyk(0%, 76%, 29.2%, 32.9%)
CIE-LABlab(40.62, 58.43, -14.58)
CIE-LCHlch(40.62, 60.22, 345.99°)
OKLaboklab(51.22% 0.1781 -0.0384)
OKLCHoklch(51.22% 0.182 347.8)
XYZxyz(21.0398, 11.6267, 19.2216)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2979 #29AB5B
analogous
#9C29AB #AB2979 #AB2938
triadic
#AB2979 #79AB29 #2979AB
tetradic
#AB2979 #AB9C29 #29AB5B #2938AB
square
#AB2979 #AB9C29 #29AB5B #2938AB
split-complementary
#AB2979 #38AB29 #29AB9C
monochromatic
#481133 #7A1D56 #AB2979 #D14099 #DD71B4

Accessibility & contrast

On white

6.32
#AB2979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2979
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2979#FFFFFF#000000##FFFFFF
##AB29791.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517B
Deuteranopia (green-blind)
#636876
Tritanopia (blue-blind)
#B7234E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2979;
/* rgb */ color: rgb(171, 41, 121);
/* oklch */ color: oklch(51.2% 0.182 347.8);
Tailwind
colors: {
  custom: {
    50: '#c8709f',
    500: '#ab2979',
    950: '#000000',
  },
}
SCSS
$custom: #ab2979;
$custom-light: #c8709f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2979",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 323.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.18215,
    "h": 347.8
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#AB2979
secondary
#6CC48E
accent
#E48143
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2979

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

Preview Lab → · Contrast checker → · Palette generator →

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