#AB3788#AB3788

#AB3788 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.174 H 342.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AB3788
RGBrgb(171, 55, 136)
HSLhsl(318, 51%, 44%)
HSVhsv(318, 68%, 67%)
CMYKcmyk(0%, 67.8%, 20.5%, 32.9%)
CIE-LABlab(43.02, 55.40, -20.12)
CIE-LCHlch(43.02, 58.94, 340.04°)
OKLaboklab(53.17% 0.1658 -0.0539)
OKLCHoklch(53.17% 0.174 342)
XYZxyz(22.6054, 13.1700, 24.6393)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3788 #37AB5A
analogous
#9437AB #AB3788 #AB374E
triadic
#AB3788 #88AB37 #3788AB
tetradic
#AB3788 #AB9437 #37AB5A #374EAB
square
#AB3788 #AB9437 #37AB5A #374EAB
split-complementary
#AB3788 #4EAB37 #37AB94
monochromatic
#4E193E #7D2863 #AB3788 #C956A6 #D885BF

Accessibility & contrast

On white

5.78
#AB3788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB3788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3788
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3788#FFFFFF#000000##FFFFFF
##AB37881.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8A
Deuteranopia (green-blind)
#646C85
Tritanopia (blue-blind)
#B5385A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab3788;
/* rgb */ color: rgb(171, 55, 136);
/* oklch */ color: oklch(53.2% 0.174 342.0);
Tailwind
colors: {
  custom: {
    50: '#c777ab',
    500: '#ab3788',
    950: '#000000',
  },
}
SCSS
$custom: #ab3788;
$custom-light: #c777ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3788",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 318.103,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.17433,
    "h": 342
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#AB3788
secondary
#7CC191
accent
#DB784D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3788

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

Preview Lab → · Contrast checker → · Palette generator →

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