#AB476C#AB476C

#AB476C is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.0% C 0.136 H 359.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AB476C
RGBrgb(171, 71, 108)
HSLhsl(338, 41%, 47%)
HSVhsv(338, 58%, 67%)
CMYKcmyk(0%, 58.5%, 36.8%, 32.9%)
CIE-LABlab(44.59, 44.70, -0.61)
CIE-LCHlch(44.59, 44.70, 359.22°)
OKLaboklab(54% 0.1363 -0.001)
OKLCHoklch(54% 0.136 359.6)
XYZxyz(21.7558, 14.2494, 15.7891)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB476C #47AB86
analogous
#AB479E #AB476C #AB5447
triadic
#AB476C #6CAB47 #476CAB
tetradic
#AB476C #9EAB47 #47AB86 #5447AB
square
#AB476C #9EAB47 #47AB86 #5447AB
split-complementary
#AB476C #47AB54 #479EAB
monochromatic
#552335 #803551 #AB476C #C26D8C #D498AE

Accessibility & contrast

On white

5.46
#AB476C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB476C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB476C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB476C#FFFFFF#000000##FFFFFF
##AB476C1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6D
Deuteranopia (green-blind)
#72706A
Tritanopia (blue-blind)
#B83E55
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab476c;
/* rgb */ color: rgb(171, 71, 108);
/* oklch */ color: oklch(54.0% 0.136 359.6);
Tailwind
colors: {
  custom: {
    50: '#c87f96',
    500: '#ab476c',
    950: '#000000',
  },
}
SCSS
$custom: #ab476c;
$custom-light: #c87f96;
$custom-dark: #000000;
JSON
{
  "hex": "#ab476c",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 108
  },
  "hsl": {
    "h": 337.8,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.13626,
    "h": 359.6
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

primary
#AB476C
secondary
#8DC0AE
accent
#D1A457
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AB476C

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

Preview Lab → · Contrast checker → · Palette generator →

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