#AB3477#AB3477

#AB3477 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.168 H 349.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AB3477
RGBrgb(171, 52, 119)
HSLhsl(326, 53%, 44%)
HSVhsv(326, 70%, 67%)
CMYKcmyk(0%, 69.6%, 30.4%, 32.9%)
CIE-LABlab(41.92, 54.30, -11.36)
CIE-LCHlch(41.92, 55.48, 348.18°)
OKLaboklab(52.15% 0.1655 -0.0296)
OKLCHoklch(52.15% 0.168 349.8)
XYZxyz(21.3534, 12.4482, 18.7274)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3477 #34AB68
analogous
#A334AB #AB3477 #AB343C
triadic
#AB3477 #77AB34 #3477AB
tetradic
#AB3477 #ABA334 #34AB68 #343CAB
square
#AB3477 #ABA334 #34AB68 #343CAB
split-complementary
#AB3477 #3CAB34 #34ABA3
monochromatic
#4D1736 #7C2656 #AB3477 #CA5296 #D981B2

Accessibility & contrast

On white

6.02
#AB3477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB3477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3477
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3477#FFFFFF#000000##FFFFFF
##AB34771.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455579
Deuteranopia (green-blind)
#686B74
Tritanopia (blue-blind)
#B72E51
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3477;
/* rgb */ color: rgb(171, 52, 119);
/* oklch */ color: oklch(52.1% 0.168 349.8);
Tailwind
colors: {
  custom: {
    50: '#c8759e',
    500: '#ab3477',
    950: '#000000',
  },
}
SCSS
$custom: #ab3477;
$custom-light: #c8759e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3477",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 119
  },
  "hsl": {
    "h": 326.218,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.16811,
    "h": 349.8
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#AB3477
secondary
#79C299
accent
#DD8B4B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3477

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

Preview Lab → · Contrast checker → · Palette generator →

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