#AB4973#AB4973

#AB4973 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.5% C 0.136 H 355.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB4973
RGBrgb(171, 73, 115)
HSLhsl(334, 40%, 48%)
HSVhsv(334, 57%, 67%)
CMYKcmyk(0%, 57.3%, 32.7%, 32.9%)
CIE-LABlab(45.17, 44.60, -4.04)
CIE-LCHlch(45.17, 44.78, 354.82°)
OKLaboklab(54.51% 0.1357 -0.0101)
OKLCHoklch(54.51% 0.136 355.8)
XYZxyz(22.2727, 14.6630, 17.8736)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4973 #49AB81
analogous
#AB49A4 #AB4973 #AB5049
triadic
#AB4973 #73AB49 #4973AB
tetradic
#AB4973 #A4AB49 #49AB81 #5049AB
square
#AB4973 #A4AB49 #49AB81 #5049AB
split-complementary
#AB4973 #49AB50 #49A4AB
monochromatic
#552439 #803756 #AB4973 #C26F93 #D49AB3

Accessibility & contrast

On white

5.34
#AB4973 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AB4973 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4973
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4973#FFFFFF#000000##FFFFFF
##AB49731.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586074
Deuteranopia (green-blind)
#727271
Tritanopia (blue-blind)
#B74359
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab4973;
/* rgb */ color: rgb(171, 73, 115);
/* oklch */ color: oklch(54.5% 0.136 355.8);
Tailwind
colors: {
  custom: {
    50: '#c7809b',
    500: '#ab4973',
    950: '#000000',
  },
}
SCSS
$custom: #ab4973;
$custom-light: #c7809b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4973",
  "rgb": {
    "r": 171,
    "g": 73,
    "b": 115
  },
  "hsl": {
    "h": 334.286,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.13604,
    "h": 355.8
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#AB4973
secondary
#8FC0AB
accent
#D09C58
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AB4973

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

Preview Lab → · Contrast checker → · Palette generator →

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