#AB476B#AB476B

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

Color values

HEX#AB476B
RGBrgb(171, 71, 107)
HSLhsl(338, 41%, 47%)
HSVhsv(338, 58%, 67%)
CMYKcmyk(0%, 58.5%, 37.4%, 32.9%)
CIE-LABlab(44.56, 44.58, -0.04)
CIE-LCHlch(44.56, 44.58, 359.95°)
OKLaboklab(53.97% 0.1359 0.0005)
OKLCHoklch(53.97% 0.136 0.2)
XYZxyz(21.7029, 14.2282, 15.5104)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB476B #47AB87
analogous
#AB479D #AB476B #AB5547
triadic
#AB476B #6BAB47 #476BAB
tetradic
#AB476B #9DAB47 #47AB87 #5547AB
square
#AB476B #9DAB47 #47AB87 #5547AB
split-complementary
#AB476B #47AB55 #479DAB
monochromatic
#552335 #803550 #AB476B #C26D8C #D498AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB476B#FFFFFF#000000##FFFFFF
##AB476B1.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)
#585E6C
Deuteranopia (green-blind)
#737069
Tritanopia (blue-blind)
#B83E55
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab476b;
/* rgb */ color: rgb(171, 71, 107);
/* oklch */ color: oklch(54.0% 0.136 0.2);
Tailwind
colors: {
  custom: {
    50: '#c87f95',
    500: '#ab476b',
    950: '#000000',
  },
}
SCSS
$custom: #ab476b;
$custom-light: #c87f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab476b",
  "rgb": {
    "r": 171,
    "g": 71,
    "b": 107
  },
  "hsl": {
    "h": 338.4,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.1359,
    "h": 0.2
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB476B

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

Preview Lab → · Contrast checker → · Palette generator →

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