#AB3873#AB3873

#AB3873 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.161 H 352.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3873
RGBrgb(171, 56, 115)
HSLhsl(329, 51%, 45%)
HSVhsv(329, 67%, 67%)
CMYKcmyk(0%, 67.3%, 32.7%, 32.9%)
CIE-LABlab(42.35, 52.22, -8.24)
CIE-LCHlch(42.35, 52.87, 351.03°)
OKLaboklab(52.42% 0.1594 -0.0212)
OKLCHoklch(52.42% 0.161 352.4)
XYZxyz(21.3044, 12.7264, 17.5508)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3873 #38AB70
analogous
#AA38AB #AB3873 #AB383A
triadic
#AB3873 #73AB38 #3873AB
tetradic
#AB3873 #ABAA38 #38AB70 #383AAB
square
#AB3873 #ABAA38 #38AB70 #383AAB
split-complementary
#AB3873 #3AAB38 #38ABAA
monochromatic
#4F1A35 #7D2954 #AB3873 #C85892 #D786B0

Accessibility & contrast

On white

5.92
#AB3873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB3873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3873
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3873#FFFFFF#000000##FFFFFF
##AB38731.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5775
Deuteranopia (green-blind)
#6A6C70
Tritanopia (blue-blind)
#B83151
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3873;
/* rgb */ color: rgb(171, 56, 115);
/* oklch */ color: oklch(52.4% 0.161 352.4);
Tailwind
colors: {
  custom: {
    50: '#c8779b',
    500: '#ab3873',
    950: '#000000',
  },
}
SCSS
$custom: #ab3873;
$custom-light: #c8779b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3873",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 329.217,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.1608,
    "h": 352.4
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#AB3873
secondary
#7DC19F
accent
#DA924E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3873

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

Preview Lab → · Contrast checker → · Palette generator →

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