#AB4086#AB4086

#AB4086 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.160 H 343.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AB4086
RGBrgb(171, 64, 134)
HSLhsl(321, 46%, 46%)
HSVhsv(321, 63%, 67%)
CMYKcmyk(0%, 62.6%, 21.6%, 32.9%)
CIE-LABlab(44.30, 51.35, -16.93)
CIE-LCHlch(44.30, 54.07, 341.75°)
OKLaboklab(54.09% 0.1539 -0.0451)
OKLCHoklch(54.09% 0.16 343.7)
XYZxyz(22.9317, 14.0481, 24.0535)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4086 #40AB65
analogous
#9A40AB #AB4086 #AB4050
triadic
#AB4086 #86AB40 #4086AB
tetradic
#AB4086 #AB9A40 #40AB65 #4050AB
square
#AB4086 #AB9A40 #40AB65 #4050AB
split-complementary
#AB4086 #50AB40 #40AB9A
monochromatic
#521F40 #7E2F63 #AB4086 #C563A3 #D590BD

Accessibility & contrast

On white

5.51
#AB4086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB4086
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4086#FFFFFF#000000##FFFFFF
##AB40861.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495D88
Deuteranopia (green-blind)
#686F83
Tritanopia (blue-blind)
#B5405D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4086;
/* rgb */ color: rgb(171, 64, 134);
/* oklch */ color: oklch(54.1% 0.160 343.7);
Tailwind
colors: {
  custom: {
    50: '#c77ba9',
    500: '#ab4086',
    950: '#000000',
  },
}
SCSS
$custom: #ab4086;
$custom-light: #c77ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4086",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 320.748,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.16038,
    "h": 343.7
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4086

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

Preview Lab → · Contrast checker → · Palette generator →

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