#AB3772#AB3772

#AB3772 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.162 H 352.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB3772
RGBrgb(171, 55, 114)
HSLhsl(329, 51%, 44%)
HSVhsv(329, 68%, 67%)
CMYKcmyk(0%, 67.8%, 33.3%, 32.9%)
CIE-LABlab(42.17, 52.51, -7.90)
CIE-LCHlch(42.17, 53.10, 351.45°)
OKLaboklab(52.27% 0.1604 -0.0203)
OKLCHoklch(52.27% 0.162 352.8)
XYZxyz(21.1992, 12.6076, 17.2334)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3772 #37AB70
analogous
#AA37AB #AB3772 #AB3738
triadic
#AB3772 #72AB37 #3772AB
tetradic
#AB3772 #ABAA37 #37AB70 #3738AB
square
#AB3772 #ABAA37 #37AB70 #3738AB
split-complementary
#AB3772 #38AB37 #37ABAA
monochromatic
#4E1934 #7D2853 #AB3772 #C95691 #D885AF

Accessibility & contrast

On white

5.96
#AB3772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB3772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3772
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3772#FFFFFF#000000##FFFFFF
##AB37721.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5674
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#B82F50
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3772;
/* rgb */ color: rgb(171, 55, 114);
/* oklch */ color: oklch(52.3% 0.162 352.8);
Tailwind
colors: {
  custom: {
    50: '#c8769a',
    500: '#ab3772',
    950: '#000000',
  },
}
SCSS
$custom: #ab3772;
$custom-light: #c8769a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3772",
  "rgb": {
    "r": 171,
    "g": 55,
    "b": 114
  },
  "hsl": {
    "h": 329.483,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.16165,
    "h": 352.8
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#AB3772
secondary
#7CC19E
accent
#DB934D
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3772

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

Preview Lab → · Contrast checker → · Palette generator →

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