#AB3892#AB3892

#AB3892 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.180 H 337.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB3892
RGBrgb(171, 56, 146)
HSLhsl(313, 51%, 45%)
HSVhsv(313, 67%, 67%)
CMYKcmyk(0%, 67.3%, 14.6%, 32.9%)
CIE-LABlab(43.60, 56.46, -25.29)
CIE-LCHlch(43.60, 61.87, 335.87°)
OKLaboklab(53.74% 0.1663 -0.0685)
OKLCHoklch(53.74% 0.18 337.6)
XYZxyz(23.3975, 13.5637, 28.5743)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3892 #38AB51
analogous
#8A38AB #AB3892 #AB3859
triadic
#AB3892 #92AB38 #3892AB
tetradic
#AB3892 #AB8A38 #38AB51 #3859AB
square
#AB3892 #AB8A38 #38AB51 #3859AB
split-complementary
#AB3892 #59AB38 #38AB8A
monochromatic
#4F1A43 #7D296B #AB3892 #C858B0 #D786C6

Accessibility & contrast

On white

5.66
#AB3892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB3892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3892
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3892#FFFFFF#000000##FFFFFF
##AB38921.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5C95
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#B43D60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3892;
/* rgb */ color: rgb(171, 56, 146);
/* oklch */ color: oklch(53.7% 0.180 337.6);
Tailwind
colors: {
  custom: {
    50: '#c777b2',
    500: '#ab3892',
    950: '#000000',
  },
}
SCSS
$custom: #ab3892;
$custom-light: #c777b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3892",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 313.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53743,
    "c": 0.17988,
    "h": 337.6
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#AB3892
secondary
#7DC18C
accent
#DA6C4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3892

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

Preview Lab → · Contrast checker → · Palette generator →

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