#AB4079#AB4079

#AB4079 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.6% C 0.153 H 350.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB4079
RGBrgb(171, 64, 121)
HSLhsl(328, 46%, 46%)
HSVhsv(328, 63%, 67%)
CMYKcmyk(0%, 62.6%, 29.2%, 32.9%)
CIE-LABlab(43.81, 49.56, -9.74)
CIE-LCHlch(43.81, 50.51, 348.88°)
OKLaboklab(53.57% 0.1505 -0.0253)
OKLCHoklch(53.57% 0.153 350.4)
XYZxyz(22.0802, 13.7074, 19.5684)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4079 #40AB72
analogous
#A740AB #AB4079 #AB4043
triadic
#AB4079 #79AB40 #4079AB
tetradic
#AB4079 #ABA740 #40AB72 #4043AB
square
#AB4079 #ABA740 #40AB72 #4043AB
split-complementary
#AB4079 #43AB40 #40ABA7
monochromatic
#521F3A #7E2F59 #AB4079 #C56397 #D590B5

Accessibility & contrast

On white

5.61
#AB4079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB4079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4079
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4079#FFFFFF#000000##FFFFFF
##AB40791.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7B
Deuteranopia (green-blind)
#6C6F76
Tritanopia (blue-blind)
#B73B57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab4079;
/* rgb */ color: rgb(171, 64, 121);
/* oklch */ color: oklch(53.6% 0.153 350.4);
Tailwind
colors: {
  custom: {
    50: '#c77b9f',
    500: '#ab4079',
    950: '#000000',
  },
}
SCSS
$custom: #ab4079;
$custom-light: #c77b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4079",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 328.037,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.15263,
    "h": 350.4
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#AB4079
secondary
#86C1A1
accent
#D59053
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4079

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

Preview Lab → · Contrast checker → · Palette generator →

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