#AB4091#AB4091

#AB4091 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.168 H 338.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB4091
RGBrgb(171, 64, 145)
HSLhsl(315, 46%, 46%)
HSVhsv(315, 63%, 67%)
CMYKcmyk(0%, 62.6%, 15.2%, 32.9%)
CIE-LABlab(44.76, 52.98, -22.89)
CIE-LCHlch(44.76, 57.71, 336.64°)
OKLaboklab(54.58% 0.1562 -0.0618)
OKLCHoklch(54.58% 0.168 338.4)
XYZxyz(23.7392, 14.3711, 28.3062)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4091 #40AB5A
analogous
#8F40AB #AB4091 #AB405B
triadic
#AB4091 #91AB40 #4091AB
tetradic
#AB4091 #AB8F40 #40AB5A #405BAB
square
#AB4091 #AB8F40 #40AB5A #405BAB
split-complementary
#AB4091 #5BAB40 #40AB8F
monochromatic
#521F45 #7E2F6B #AB4091 #C563AD #D590C5

Accessibility & contrast

On white

5.42
#AB4091 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB4091 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4091
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4091#FFFFFF#000000##FFFFFF
##AB40911.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#65708E
Tritanopia (blue-blind)
#B44462
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4091;
/* rgb */ color: rgb(171, 64, 145);
/* oklch */ color: oklch(54.6% 0.168 338.4);
Tailwind
colors: {
  custom: {
    50: '#c77cb1',
    500: '#ab4091',
    950: '#000000',
  },
}
SCSS
$custom: #ab4091;
$custom-light: #c77cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4091",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 314.579,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.16799,
    "h": 338.4
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#AB4091
secondary
#86C194
accent
#D57253
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4091

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

Preview Lab → · Contrast checker → · Palette generator →

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