#AB4F91#AB4F91

#AB4F91 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.5% C 0.145 H 339.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB4F91
RGBrgb(171, 79, 145)
HSLhsl(317, 37%, 49%)
HSVhsv(317, 54%, 67%)
CMYKcmyk(0%, 53.8%, 15.2%, 32.9%)
CIE-LABlab(47.36, 45.97, -18.88)
CIE-LCHlch(47.36, 49.70, 337.67°)
OKLaboklab(56.49% 0.1354 -0.0507)
OKLCHoklch(56.49% 0.145 339.5)
XYZxyz(24.7017, 16.2961, 28.6270)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4F91 #4FAB69
analogous
#974FAB #AB4F91 #AB4F63
triadic
#AB4F91 #91AB4F #4F91AB
tetradic
#AB4F91 #AB974F #4FAB69 #4F63AB
square
#AB4F91 #AB974F #4FAB69 #4F63AB
split-complementary
#AB4F91 #63AB4F #4FAB97
monochromatic
#57284A #813C6E #AB4F91 #C077AC #D4A1C5

Accessibility & contrast

On white

4.93
#AB4F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB4F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4F91
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4F91#FFFFFF#000000##FFFFFF
##AB4F911.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536793
Deuteranopia (green-blind)
#6D768F
Tritanopia (blue-blind)
#B45169
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4f91;
/* rgb */ color: rgb(171, 79, 145);
/* oklch */ color: oklch(56.5% 0.145 339.5);
Tailwind
colors: {
  custom: {
    50: '#c684b1',
    500: '#ab4f91',
    950: '#000000',
  },
}
SCSS
$custom: #ab4f91;
$custom-light: #c684b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4f91",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 316.957,
    "s": 36.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.14456,
    "h": 339.5
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#AB4F91
secondary
#95C1A1
accent
#CD7B5B
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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