#AB5491#AB5491

#AB5491 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.2% C 0.136 H 340.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB5491
RGBrgb(171, 84, 145)
HSLhsl(318, 34%, 50%)
HSVhsv(318, 51%, 67%)
CMYKcmyk(0%, 50.9%, 15.2%, 32.9%)
CIE-LABlab(48.32, 43.46, -17.42)
CIE-LCHlch(48.32, 46.82, 338.16°)
OKLaboklab(57.21% 0.1279 -0.0466)
OKLCHoklch(57.21% 0.136 340)
XYZxyz(25.0761, 17.0447, 28.7518)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5491 #54AB6E
analogous
#9A54AB #AB5491 #AB5465
triadic
#AB5491 #91AB54 #5491AB
tetradic
#AB5491 #AB9A54 #54AB6E #5465AB
square
#AB5491 #AB9A54 #54AB6E #5465AB
split-complementary
#AB5491 #65AB54 #54AB9A
monochromatic
#592C4B #82406E #AB5491 #BF7DAB #D3A6C6

Accessibility & contrast

On white

4.76
#AB5491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AB5491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5491
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5491#FFFFFF#000000##FFFFFF
##AB54911.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586A93
Deuteranopia (green-blind)
#70788F
Tritanopia (blue-blind)
#B4566C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5491;
/* rgb */ color: rgb(171, 84, 145);
/* oklch */ color: oklch(57.2% 0.136 340.0);
Tailwind
colors: {
  custom: {
    50: '#c687b1',
    500: '#ab5491',
    950: '#000000',
  },
}
SCSS
$custom: #ab5491;
$custom-light: #c687b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5491",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 317.931,
    "s": 34.118,
    "l": 50
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.13617,
    "h": 340
  },
  "luminance": 0.17043
}

Semantic roles & 50–950 ramp

primary
#AB5491
secondary
#9AC1A6
accent
#CA7E5E
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB5491

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

Preview Lab → · Contrast checker → · Palette generator →

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