#AB4072#AB4072

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

Color values

HEX#AB4072
RGBrgb(171, 64, 114)
HSLhsl(332, 46%, 46%)
HSVhsv(332, 63%, 67%)
CMYKcmyk(0%, 62.6%, 33.3%, 32.9%)
CIE-LABlab(43.57, 48.67, -5.81)
CIE-LCHlch(43.57, 49.02, 353.20°)
OKLaboklab(53.31% 0.1484 -0.0147)
OKLCHoklch(53.31% 0.149 354.3)
XYZxyz(21.6664, 13.5419, 17.3892)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4072 #40AB79
analogous
#AB40A7 #AB4072 #AB4340
triadic
#AB4072 #72AB40 #4072AB
tetradic
#AB4072 #A7AB40 #40AB79 #4340AB
square
#AB4072 #A7AB40 #40AB79 #4340AB
split-complementary
#AB4072 #40AB43 #40A7AB
monochromatic
#521F37 #7E2F54 #AB4072 #C56391 #D590B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB4072#FFFFFF#000000##FFFFFF
##AB40721.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)
#515B73
Deuteranopia (green-blind)
#6E6E6F
Tritanopia (blue-blind)
#B83954
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4072;
/* rgb */ color: rgb(171, 64, 114);
/* oklch */ color: oklch(53.3% 0.149 354.3);
Tailwind
colors: {
  custom: {
    50: '#c87b9a',
    500: '#ab4072',
    950: '#000000',
  },
}
SCSS
$custom: #ab4072;
$custom-light: #c87b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4072",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 331.963,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.14912,
    "h": 354.3
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB4072

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

Preview Lab → · Contrast checker → · Palette generator →

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