#AB476F#AB476F

#AB476F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.1% C 0.137 H 357.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB476F
RGBrgb(171, 71, 111)
HSLhsl(336, 41%, 47%)
HSVhsv(336, 58%, 67%)
CMYKcmyk(0%, 58.5%, 35.1%, 32.9%)
CIE-LABlab(44.68, 45.06, -2.32)
CIE-LCHlch(44.68, 45.12, 357.06°)
OKLaboklab(54.1% 0.1373 -0.0055)
OKLCHoklch(54.1% 0.137 357.7)
XYZxyz(21.9182, 14.3144, 16.6445)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB476F #47AB83
analogous
#AB47A1 #AB476F #AB5147
triadic
#AB476F #6FAB47 #476FAB
tetradic
#AB476F #A1AB47 #47AB83 #5147AB
square
#AB476F #A1AB47 #47AB83 #5147AB
split-complementary
#AB476F #47AB51 #47A1AB
monochromatic
#552337 #803553 #AB476F #C26D8F #D498B0

Accessibility & contrast

On white

5.44
#AB476F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AB476F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB476F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB476F#FFFFFF#000000##FFFFFF
##AB476F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575E70
Deuteranopia (green-blind)
#72716D
Tritanopia (blue-blind)
#B83F56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab476f;
/* rgb */ color: rgb(171, 71, 111);
/* oklch */ color: oklch(54.1% 0.137 357.7);
Tailwind
colors: {
  custom: {
    50: '#c77f98',
    500: '#ab476f',
    950: '#000000',
  },
}
SCSS
$custom: #ab476f;
$custom-light: #c77f98;
$custom-dark: #000000;
JSON
{
  "hex": "#ab476f",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 336,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.13741,
    "h": 357.7
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#AB476F
secondary
#8DC0AC
accent
#D1A057
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0D
muted
#827C7E

Preview Lab

Preview with #AB476F

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

Preview Lab → · Contrast checker → · Palette generator →

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