#AB4191#AB4191

#AB4191 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.167 H 338.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AB4191
RGBrgb(171, 65, 145)
HSLhsl(315, 45%, 46%)
HSVhsv(315, 62%, 67%)
CMYKcmyk(0%, 62%, 15.2%, 32.9%)
CIE-LABlab(44.92, 52.54, -22.64)
CIE-LCHlch(44.92, 57.21, 336.69°)
OKLaboklab(54.69% 0.1549 -0.0611)
OKLCHoklch(54.69% 0.167 338.5)
XYZxyz(23.7961, 14.4849, 28.3252)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4191 #41AB5B
analogous
#9041AB #AB4191 #AB415C
triadic
#AB4191 #91AB41 #4191AB
tetradic
#AB4191 #AB9041 #41AB5B #415CAB
square
#AB4191 #AB9041 #41AB5B #415CAB
split-complementary
#AB4191 #5CAB41 #41AB90
monochromatic
#521F46 #7F306B #AB4191 #C465AD #D591C5

Accessibility & contrast

On white

5.39
#AB4191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AB4191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4191
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4191#FFFFFF#000000##FFFFFF
##AB41911.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456093
Deuteranopia (green-blind)
#65708E
Tritanopia (blue-blind)
#B44563
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab4191;
/* rgb */ color: rgb(171, 65, 145);
/* oklch */ color: oklch(54.7% 0.167 338.5);
Tailwind
colors: {
  custom: {
    50: '#c77cb1',
    500: '#ab4191',
    950: '#000000',
  },
}
SCSS
$custom: #ab4191;
$custom-light: #c77cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4191",
  "rgb": {
    "r": 171,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 314.717,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54693,
    "c": 0.16653,
    "h": 338.5
  },
  "luminance": 0.14483
}

Semantic roles & 50–950 ramp

primary
#AB4191
secondary
#87C195
accent
#D57353
background
#FCF7FA
surface
#F8EEF5
border
#D1C9CF
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB4191

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

Preview Lab → · Contrast checker → · Palette generator →

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