#AB3979#AB3979

#AB3979 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.163 H 349.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AB3979
RGBrgb(171, 57, 121)
HSLhsl(326, 50%, 45%)
HSVhsv(326, 67%, 67%)
CMYKcmyk(0%, 66.7%, 29.2%, 32.9%)
CIE-LABlab(42.71, 52.56, -11.40)
CIE-LCHlch(42.71, 53.79, 347.77°)
OKLaboklab(52.76% 0.1598 -0.0298)
OKLCHoklch(52.76% 0.163 349.4)
XYZxyz(21.7099, 12.9670, 19.4450)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3979 #39AB6B
analogous
#A439AB #AB3979 #AB3940
triadic
#AB3979 #79AB39 #3979AB
tetradic
#AB3979 #ABA439 #39AB6B #3940AB
square
#AB3979 #ABA439 #39AB6B #3940AB
split-complementary
#AB3979 #40AB39 #39ABA4
monochromatic
#4F1A38 #7D2A59 #AB3979 #C85997 #D787B4

Accessibility & contrast

On white

5.84
#AB3979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB3979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3979
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3979#FFFFFF#000000##FFFFFF
##AB39791.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587B
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#B73454
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3979;
/* rgb */ color: rgb(171, 57, 121);
/* oklch */ color: oklch(52.8% 0.163 349.4);
Tailwind
colors: {
  custom: {
    50: '#c8779f',
    500: '#ab3979',
    950: '#000000',
  },
}
SCSS
$custom: #ab3979;
$custom-light: #c8779f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3979",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 326.316,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.16256,
    "h": 349.4
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#AB3979
secondary
#7FC19C
accent
#DA8B4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3979

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

Preview Lab → · Contrast checker → · Palette generator →

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