#AB4087#AB4087

#AB4087 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.161 H 343.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AB4087
RGBrgb(171, 64, 135)
HSLhsl(320, 46%, 46%)
HSVhsv(320, 63%, 67%)
CMYKcmyk(0%, 62.6%, 21.1%, 32.9%)
CIE-LABlab(44.34, 51.49, -17.48)
CIE-LCHlch(44.34, 54.38, 341.25°)
OKLaboklab(54.13% 0.1541 -0.0466)
OKLCHoklch(54.13% 0.161 343.2)
XYZxyz(23.0018, 14.0761, 24.4225)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4087 #40AB64
analogous
#9940AB #AB4087 #AB4051
triadic
#AB4087 #87AB40 #4087AB
tetradic
#AB4087 #AB9940 #40AB64 #4051AB
square
#AB4087 #AB9940 #40AB64 #4051AB
split-complementary
#AB4087 #51AB40 #40AB99
monochromatic
#521F41 #7E2F64 #AB4087 #C563A4 #D590BE

Accessibility & contrast

On white

5.50
#AB4087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AB4087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4087
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4087#FFFFFF#000000##FFFFFF
##AB40871.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495E89
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#B5405E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4087;
/* rgb */ color: rgb(171, 64, 135);
/* oklch */ color: oklch(54.1% 0.161 343.2);
Tailwind
colors: {
  custom: {
    50: '#c77baa',
    500: '#ab4087',
    950: '#000000',
  },
}
SCSS
$custom: #ab4087;
$custom-light: #c77baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4087",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 320.187,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.16104,
    "h": 343.2
  },
  "luminance": 0.14074
}

Semantic roles & 50–950 ramp

primary
#AB4087
secondary
#86C19A
accent
#D57F53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4087

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

Preview Lab → · Contrast checker → · Palette generator →

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