#AB4084#AB4084

#AB4084 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.159 H 344.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AB4084
RGBrgb(171, 64, 132)
HSLhsl(322, 46%, 46%)
HSVhsv(322, 63%, 67%)
CMYKcmyk(0%, 62.6%, 22.8%, 32.9%)
CIE-LABlab(44.22, 51.06, -15.84)
CIE-LCHlch(44.22, 53.46, 342.77°)
OKLaboklab(54% 0.1534 -0.0421)
OKLCHoklch(54% 0.159 344.7)
XYZxyz(22.7936, 13.9928, 23.3258)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4084 #40AB67
analogous
#9C40AB #AB4084 #AB404E
triadic
#AB4084 #84AB40 #4084AB
tetradic
#AB4084 #AB9C40 #40AB67 #404EAB
square
#AB4084 #AB9C40 #40AB67 #404EAB
split-complementary
#AB4084 #4EAB40 #40AB9C
monochromatic
#521F3F #7E2F62 #AB4084 #C563A1 #D590BC

Accessibility & contrast

On white

5.53
#AB4084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AB4084 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4084
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4084#FFFFFF#000000##FFFFFF
##AB40841.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D86
Deuteranopia (green-blind)
#696F81
Tritanopia (blue-blind)
#B63F5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4084;
/* rgb */ color: rgb(171, 64, 132);
/* oklch */ color: oklch(54.0% 0.159 344.7);
Tailwind
colors: {
  custom: {
    50: '#c77ba8',
    500: '#ab4084',
    950: '#000000',
  },
}
SCSS
$custom: #ab4084;
$custom-light: #c77ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4084",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 132
  },
  "hsl": {
    "h": 321.869,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54004,
    "c": 0.15909,
    "h": 344.7
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#AB4084
secondary
#86C19B
accent
#D58253
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4084

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

Preview Lab → · Contrast checker → · Palette generator →

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