#AB3971#AB3971

#AB3971 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.5% C 0.158 H 353.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AB3971
RGBrgb(171, 57, 113)
HSLhsl(331, 50%, 45%)
HSVhsv(331, 67%, 67%)
CMYKcmyk(0%, 66.7%, 33.9%, 32.9%)
CIE-LABlab(42.43, 51.57, -6.89)
CIE-LCHlch(42.43, 52.03, 352.39°)
OKLaboklab(52.45% 0.1575 -0.0176)
OKLCHoklch(52.45% 0.158 353.6)
XYZxyz(21.2395, 12.7788, 16.9676)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3971 #39AB73
analogous
#AB39AA #AB3971 #AB3A39
triadic
#AB3971 #71AB39 #3971AB
tetradic
#AB3971 #AAAB39 #39AB73 #3A39AB
square
#AB3971 #AAAB39 #39AB73 #3A39AB
split-complementary
#AB3971 #39AB3A #39AAAB
monochromatic
#4F1A34 #7D2A53 #AB3971 #C85990 #D787AF

Accessibility & contrast

On white

5.91
#AB3971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AB3971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3971
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3971#FFFFFF#000000##FFFFFF
##AB39711.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#B83150
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3971;
/* rgb */ color: rgb(171, 57, 113);
/* oklch */ color: oklch(52.5% 0.158 353.6);
Tailwind
colors: {
  custom: {
    50: '#c87799',
    500: '#ab3971',
    950: '#000000',
  },
}
SCSS
$custom: #ab3971;
$custom-light: #c87799;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3971",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 330.526,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.15849,
    "h": 353.6
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#AB3971
secondary
#7FC1A0
accent
#DA954E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3971

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

Preview Lab → · Contrast checker → · Palette generator →

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