#AB4C97#AB4C97

#AB4C97 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.4% C 0.154 H 336.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AB4C97
RGBrgb(171, 76, 151)
HSLhsl(313, 38%, 48%)
HSVhsv(313, 56%, 67%)
CMYKcmyk(0%, 55.6%, 11.7%, 32.9%)
CIE-LABlab(47.06, 48.41, -22.93)
CIE-LCHlch(47.06, 53.57, 334.65°)
OKLaboklab(56.35% 0.141 -0.0621)
OKLCHoklch(56.35% 0.154 336.2)
XYZxyz(24.9651, 16.0630, 31.0577)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4C97 #4CAB60
analogous
#8F4CAB #AB4C97 #AB4C67
triadic
#AB4C97 #97AB4C #4C97AB
tetradic
#AB4C97 #AB8F4C #4CAB60 #4C67AB
square
#AB4C97 #AB8F4C #4CAB60 #4C67AB
split-complementary
#AB4C97 #67AB4C #4CAB8F
monochromatic
#56264C #813972 #AB4C97 #C173B1 #D49EC8

Accessibility & contrast

On white

4.99
#AB4C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AB4C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4C97
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4C97#FFFFFF#000000##FFFFFF
##AB4C971.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6699
Deuteranopia (green-blind)
#697594
Tritanopia (blue-blind)
#B3506B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab4c97;
/* rgb */ color: rgb(171, 76, 151);
/* oklch */ color: oklch(56.4% 0.154 336.2);
Tailwind
colors: {
  custom: {
    50: '#c683b5',
    500: '#ab4c97',
    950: '#000000',
  },
}
SCSS
$custom: #ab4c97;
$custom-light: #c683b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4c97",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 312.632,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.15409,
    "h": 336.2
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#AB4C97
secondary
#92C09C
accent
#CE7259
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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