#AB3F92#AB3F92

#AB3F92 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.170 H 337.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB3F92
RGBrgb(171, 63, 146)
HSLhsl(314, 46%, 46%)
HSVhsv(314, 63%, 67%)
CMYKcmyk(0%, 63.2%, 14.6%, 32.9%)
CIE-LABlab(44.65, 53.57, -23.66)
CIE-LCHlch(44.65, 58.56, 336.17°)
OKLaboklab(54.51% 0.1577 -0.064)
OKLCHoklch(54.51% 0.17 337.9)
XYZxyz(23.7608, 14.2903, 28.6954)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F92 #3FAB58
analogous
#8E3FAB #AB3F92 #AB3F5C
triadic
#AB3F92 #92AB3F #3F92AB
tetradic
#AB3F92 #AB8E3F #3FAB58 #3F5CAB
square
#AB3F92 #AB8E3F #3FAB58 #3F5CAB
split-complementary
#AB3F92 #5CAB3F #3FAB8E
monochromatic
#521E46 #7E2F6C #AB3F92 #C562AE #D68FC5

Accessibility & contrast

On white

5.44
#AB3F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3F92
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3F92#FFFFFF#000000##FFFFFF
##AB3F921.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F95
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#B44363
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3f92;
/* rgb */ color: rgb(171, 63, 146);
/* oklch */ color: oklch(54.5% 0.170 337.9);
Tailwind
colors: {
  custom: {
    50: '#c77bb2',
    500: '#ab3f92',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f92;
$custom-light: #c77bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f92",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 313.889,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.17018,
    "h": 337.9
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#AB3F92
secondary
#85C193
accent
#D67152
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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