#AB4073#AB4073

#AB4073 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.3% C 0.150 H 353.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AB4073
RGBrgb(171, 64, 115)
HSLhsl(331, 46%, 46%)
HSVhsv(331, 63%, 67%)
CMYKcmyk(0%, 62.6%, 32.7%, 32.9%)
CIE-LABlab(43.60, 48.80, -6.37)
CIE-LCHlch(43.60, 49.21, 352.56°)
OKLaboklab(53.34% 0.1487 -0.0162)
OKLCHoklch(53.34% 0.15 353.8)
XYZxyz(21.7236, 13.5648, 17.6906)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4073 #40AB78
analogous
#AB40A8 #AB4073 #AB4240
triadic
#AB4073 #73AB40 #4073AB
tetradic
#AB4073 #A8AB40 #40AB78 #4240AB
square
#AB4073 #A8AB40 #40AB78 #4240AB
split-complementary
#AB4073 #40AB42 #40A8AB
monochromatic
#521F37 #7E2F55 #AB4073 #C56392 #D590B1

Accessibility & contrast

On white

5.66
#AB4073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AB4073 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4073
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4073#FFFFFF#000000##FFFFFF
##AB40731.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B75
Deuteranopia (green-blind)
#6E6E70
Tritanopia (blue-blind)
#B83954
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4073;
/* rgb */ color: rgb(171, 64, 115);
/* oklch */ color: oklch(53.3% 0.150 353.8);
Tailwind
colors: {
  custom: {
    50: '#c87b9b',
    500: '#ab4073',
    950: '#000000',
  },
}
SCSS
$custom: #ab4073;
$custom-light: #c87b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4073",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 115
  },
  "hsl": {
    "h": 331.402,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.14959,
    "h": 353.8
  },
  "luminance": 0.13563
}

Semantic roles & 50–950 ramp

primary
#AB4073
secondary
#86C1A5
accent
#D59753
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AB4073

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

Preview Lab → · Contrast checker → · Palette generator →

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