#AB4089#AB4089

#AB4089 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.162 H 342.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB4089
RGBrgb(171, 64, 137)
HSLhsl(319, 46%, 46%)
HSVhsv(319, 63%, 67%)
CMYKcmyk(0%, 62.6%, 19.9%, 32.9%)
CIE-LABlab(44.42, 51.78, -18.57)
CIE-LCHlch(44.42, 55.01, 340.27°)
OKLaboklab(54.22% 0.1546 -0.0497)
OKLCHoklch(54.22% 0.162 342.2)
XYZxyz(23.1440, 14.1330, 25.1711)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4089 #40AB62
analogous
#9740AB #AB4089 #AB4053
triadic
#AB4089 #89AB40 #4089AB
tetradic
#AB4089 #AB9740 #40AB62 #4053AB
square
#AB4089 #AB9740 #40AB62 #4053AB
split-complementary
#AB4089 #53AB40 #40AB97
monochromatic
#521F42 #7E2F65 #AB4089 #C563A6 #D590BF

Accessibility & contrast

On white

5.49
#AB4089 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AB4089 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4089
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4089#FFFFFF#000000##FFFFFF
##AB40891.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8B
Deuteranopia (green-blind)
#676F86
Tritanopia (blue-blind)
#B5415F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4089;
/* rgb */ color: rgb(171, 64, 137);
/* oklch */ color: oklch(54.2% 0.162 342.2);
Tailwind
colors: {
  custom: {
    50: '#c77bab',
    500: '#ab4089',
    950: '#000000',
  },
}
SCSS
$custom: #ab4089;
$custom-light: #c77bab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4089",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 319.065,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.16237,
    "h": 342.2
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#AB4089
secondary
#86C199
accent
#D57C53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4089

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

Preview Lab → · Contrast checker → · Palette generator →

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