#AB4071#AB4071

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

Color values

HEX#AB4071
RGBrgb(171, 64, 113)
HSLhsl(333, 46%, 46%)
HSVhsv(333, 63%, 67%)
CMYKcmyk(0%, 62.6%, 33.9%, 32.9%)
CIE-LABlab(43.54, 48.55, -5.24)
CIE-LCHlch(43.54, 48.83, 353.84°)
OKLaboklab(53.27% 0.1481 -0.0132)
OKLCHoklch(53.27% 0.149 354.9)
XYZxyz(21.6098, 13.5193, 17.0910)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4071 #40AB7A
analogous
#AB40A6 #AB4071 #AB4440
triadic
#AB4071 #71AB40 #4071AB
tetradic
#AB4071 #A6AB40 #40AB7A #4440AB
square
#AB4071 #A6AB40 #40AB7A #4440AB
split-complementary
#AB4071 #40AB44 #40A6AB
monochromatic
#521F36 #7E2F54 #AB4071 #C56390 #D590B0

Accessibility & contrast

On white

5.67
#AB4071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AB4071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4071
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4071#FFFFFF#000000##FFFFFF
##AB40711.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A72
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#B83853
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4071;
/* rgb */ color: rgb(171, 64, 113);
/* oklch */ color: oklch(53.3% 0.149 354.9);
Tailwind
colors: {
  custom: {
    50: '#c87b99',
    500: '#ab4071',
    950: '#000000',
  },
}
SCSS
$custom: #ab4071;
$custom-light: #c87b99;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4071",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 332.523,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.14866,
    "h": 354.9
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#AB4071
secondary
#86C1A6
accent
#D59953
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AB4071

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

Preview Lab → · Contrast checker → · Palette generator →

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