#AB3796#AB3796

#AB3796 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.184 H 335.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AB3796
RGBrgb(171, 55, 150)
HSLhsl(311, 51%, 44%)
HSVhsv(311, 68%, 67%)
CMYKcmyk(0%, 67.8%, 12.3%, 32.9%)
CIE-LABlab(43.65, 57.46, -27.63)
CIE-LCHlch(43.65, 63.76, 334.32°)
OKLaboklab(53.84% 0.168 -0.0752)
OKLCHoklch(53.84% 0.184 335.9)
XYZxyz(23.6661, 13.5943, 30.2258)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3796 #37AB4C
analogous
#8637AB #AB3796 #AB375C
triadic
#AB3796 #96AB37 #3796AB
tetradic
#AB3796 #AB8637 #37AB4C #375CAB
square
#AB3796 #AB8637 #37AB4C #375CAB
split-complementary
#AB3796 #5CAB37 #37AB86
monochromatic
#4E1945 #7D286D #AB3796 #C956B4 #D885C9

Accessibility & contrast

On white

5.65
#AB3796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB3796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3796
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3796#FFFFFF#000000##FFFFFF
##AB37961.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#5E6D93
Tritanopia (blue-blind)
#B43E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3796;
/* rgb */ color: rgb(171, 55, 150);
/* oklch */ color: oklch(53.8% 0.184 335.9);
Tailwind
colors: {
  custom: {
    50: '#c777b5',
    500: '#ab3796',
    950: '#000000',
  },
}
SCSS
$custom: #ab3796;
$custom-light: #c777b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3796",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 310.862,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.18409,
    "h": 335.9
  },
  "luminance": 0.13592
}

Semantic roles & 50–950 ramp

primary
#AB3796
secondary
#7CC189
accent
#DB674D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3796

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

Preview Lab → · Contrast checker → · Palette generator →

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