#AB4076#AB4076

#AB4076 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.5% C 0.151 H 352.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB4076
RGBrgb(171, 64, 118)
HSLhsl(330, 46%, 46%)
HSVhsv(330, 63%, 67%)
CMYKcmyk(0%, 62.6%, 31%, 32.9%)
CIE-LABlab(43.70, 49.18, -8.06)
CIE-LCHlch(43.70, 49.83, 350.69°)
OKLaboklab(53.45% 0.1496 -0.0208)
OKLCHoklch(53.45% 0.151 352.1)
XYZxyz(21.8990, 13.6350, 18.6146)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4076 #40AB75
analogous
#AA40AB #AB4076 #AB4040
triadic
#AB4076 #76AB40 #4076AB
tetradic
#AB4076 #ABAA40 #40AB75 #4040AB
square
#AB4076 #ABAA40 #40AB75 #4040AB
split-complementary
#AB4076 #40AB40 #40ABAA
monochromatic
#521F39 #7E2F57 #AB4076 #C56395 #D590B3

Accessibility & contrast

On white

5.64
#AB4076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AB4076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4076
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4076#FFFFFF#000000##FFFFFF
##AB40761.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5B78
Deuteranopia (green-blind)
#6D6E73
Tritanopia (blue-blind)
#B73A56
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab4076;
/* rgb */ color: rgb(171, 64, 118);
/* oklch */ color: oklch(53.5% 0.151 352.1);
Tailwind
colors: {
  custom: {
    50: '#c77b9d',
    500: '#ab4076',
    950: '#000000',
  },
}
SCSS
$custom: #ab4076;
$custom-light: #c77b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4076",
  "rgb": {
    "r": 171,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 329.72,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.15107,
    "h": 352.1
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#AB4076
secondary
#86C1A3
accent
#D59353
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AB4076

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

Preview Lab → · Contrast checker → · Palette generator →

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