#AB3F91#AB3F91

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

Color values

HEX#AB3F91
RGBrgb(171, 63, 145)
HSLhsl(314, 46%, 46%)
HSVhsv(314, 63%, 67%)
CMYKcmyk(0%, 63.2%, 15.2%, 32.9%)
CIE-LABlab(44.60, 53.42, -23.13)
CIE-LCHlch(44.60, 58.21, 336.59°)
OKLaboklab(54.46% 0.1575 -0.0625)
OKLCHoklch(54.46% 0.169 338.4)
XYZxyz(23.6833, 14.2593, 28.2876)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3F91 #3FAB59
analogous
#8F3FAB #AB3F91 #AB3F5B
triadic
#AB3F91 #91AB3F #3F91AB
tetradic
#AB3F91 #AB8F3F #3FAB59 #3F5BAB
square
#AB3F91 #AB8F3F #3FAB59 #3F5BAB
split-complementary
#AB3F91 #5BAB3F #3FAB8F
monochromatic
#521E45 #7E2F6B #AB3F91 #C562AD #D68FC5

Accessibility & contrast

On white

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

On black

3.85
#AB3F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB3F91#FFFFFF#000000##FFFFFF
##AB3F911.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F93
Deuteranopia (green-blind)
#64708E
Tritanopia (blue-blind)
#B44362
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab3f91;
/* rgb */ color: rgb(171, 63, 145);
/* oklch */ color: oklch(54.5% 0.169 338.4);
Tailwind
colors: {
  custom: {
    50: '#c77bb1',
    500: '#ab3f91',
    950: '#000000',
  },
}
SCSS
$custom: #ab3f91;
$custom-light: #c77bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3f91",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 314.444,
    "s": 46.154,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.16944,
    "h": 338.4
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#AB3F91
secondary
#85C193
accent
#D67252
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3F91

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

Preview Lab → · Contrast checker → · Palette generator →

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