#AB3791#AB3791

#AB3791 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.180 H 338.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB3791
RGBrgb(171, 55, 145)
HSLhsl(313, 51%, 44%)
HSVhsv(313, 68%, 67%)
CMYKcmyk(0%, 67.8%, 15.2%, 32.9%)
CIE-LABlab(43.41, 56.71, -24.97)
CIE-LCHlch(43.41, 61.96, 336.23°)
OKLaboklab(53.59% 0.1673 -0.0676)
OKLCHoklch(53.59% 0.18 338)
XYZxyz(23.2720, 13.4367, 28.1505)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3791 #37AB51
analogous
#8B37AB #AB3791 #AB3757
triadic
#AB3791 #91AB37 #3791AB
tetradic
#AB3791 #AB8B37 #37AB51 #3757AB
square
#AB3791 #AB8B37 #37AB51 #3757AB
split-complementary
#AB3791 #57AB37 #37AB8B
monochromatic
#4E1942 #7D286A #AB3791 #C956AF #D885C5

Accessibility & contrast

On white

5.70
#AB3791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB3791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3791
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3791#FFFFFF#000000##FFFFFF
##AB37911.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#606D8E
Tritanopia (blue-blind)
#B43C5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3791;
/* rgb */ color: rgb(171, 55, 145);
/* oklch */ color: oklch(53.6% 0.180 338.0);
Tailwind
colors: {
  custom: {
    50: '#c777b1',
    500: '#ab3791',
    950: '#000000',
  },
}
SCSS
$custom: #ab3791;
$custom-light: #c777b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3791",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 313.448,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.18048,
    "h": 338
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#AB3791
secondary
#7CC18C
accent
#DB6D4D
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3791

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

Preview Lab → · Contrast checker → · Palette generator →

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