#AB4286#AB4286

#AB4286 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.3% C 0.157 H 343.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB4286
RGBrgb(171, 66, 134)
HSLhsl(321, 44%, 46%)
HSVhsv(321, 61%, 67%)
CMYKcmyk(0%, 61.4%, 21.6%, 32.9%)
CIE-LABlab(44.63, 50.46, -16.43)
CIE-LCHlch(44.63, 53.07, 341.96°)
OKLaboklab(54.33% 0.1512 -0.0437)
OKLCHoklch(54.33% 0.157 343.9)
XYZxyz(23.0466, 14.2777, 24.0917)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4286 #42AB67
analogous
#9C42AB #AB4286 #AB4252
triadic
#AB4286 #86AB42 #4286AB
tetradic
#AB4286 #AB9C42 #42AB67 #4252AB
square
#AB4286 #AB9C42 #42AB67 #4252AB
split-complementary
#AB4286 #52AB42 #42AB9C
monochromatic
#532041 #7F3163 #AB4286 #C466A3 #D592BE

Accessibility & contrast

On white

5.45
#AB4286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB4286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4286
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4286#FFFFFF#000000##FFFFFF
##AB42861.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E88
Deuteranopia (green-blind)
#697083
Tritanopia (blue-blind)
#B5425E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4286;
/* rgb */ color: rgb(171, 66, 134);
/* oklch */ color: oklch(54.3% 0.157 343.9);
Tailwind
colors: {
  custom: {
    50: '#c77ca9',
    500: '#ab4286',
    950: '#000000',
  },
}
SCSS
$custom: #ab4286;
$custom-light: #c77ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4286",
  "rgb": {
    "r": 171,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 321.143,
    "s": 44.304,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.15741,
    "h": 343.9
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#AB4286
secondary
#88C09C
accent
#D48154
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4286

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

Preview Lab → · Contrast checker → · Palette generator →

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