#AB5191#AB5191

#AB5191 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.141 H 339.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AB5191
RGBrgb(171, 81, 145)
HSLhsl(317, 36%, 49%)
HSVhsv(317, 53%, 67%)
CMYKcmyk(0%, 52.6%, 15.2%, 32.9%)
CIE-LABlab(47.74, 44.98, -18.31)
CIE-LCHlch(47.74, 48.56, 337.85°)
OKLaboklab(56.77% 0.1324 -0.0491)
OKLCHoklch(56.77% 0.141 339.7)
XYZxyz(24.8482, 16.5890, 28.6758)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5191 #51AB6B
analogous
#9851AB #AB5191 #AB5164
triadic
#AB5191 #91AB51 #5191AB
tetradic
#AB5191 #AB9851 #51AB6B #5164AB
square
#AB5191 #AB9851 #51AB6B #5164AB
split-complementary
#AB5191 #64AB51 #51AB98
monochromatic
#582A4B #813D6E #AB5191 #C079AB #D3A3C5

Accessibility & contrast

On white

4.86
#AB5191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AB5191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5191
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5191#FFFFFF#000000##FFFFFF
##AB51911.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556893
Deuteranopia (green-blind)
#6E778F
Tritanopia (blue-blind)
#B4536A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab5191;
/* rgb */ color: rgb(171, 81, 145);
/* oklch */ color: oklch(56.8% 0.141 339.7);
Tailwind
colors: {
  custom: {
    50: '#c685b1',
    500: '#ab5191',
    950: '#000000',
  },
}
SCSS
$custom: #ab5191;
$custom-light: #c685b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5191",
  "rgb": {
    "r": 171,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 317.333,
    "s": 35.714,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.14123,
    "h": 339.7
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#AB5191
secondary
#97C1A3
accent
#CC7C5C
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB5191

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

Preview Lab → · Contrast checker → · Palette generator →

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