#AB3474#AB3474

#AB3474 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.167 H 351.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB3474
RGBrgb(171, 52, 116)
HSLhsl(328, 53%, 44%)
HSVhsv(328, 70%, 67%)
CMYKcmyk(0%, 69.6%, 32.2%, 32.9%)
CIE-LABlab(41.81, 53.94, -9.67)
CIE-LCHlch(41.81, 54.80, 349.83°)
OKLaboklab(52.03% 0.1647 -0.025)
OKLCHoklch(52.03% 0.167 351.3)
XYZxyz(21.1761, 12.3772, 17.7935)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3474 #34AB6B
analogous
#A634AB #AB3474 #AB3438
triadic
#AB3474 #74AB34 #3474AB
tetradic
#AB3474 #ABA634 #34AB6B #3438AB
square
#AB3474 #ABA634 #34AB6B #3438AB
split-complementary
#AB3474 #38AB34 #34ABA6
monochromatic
#4D1734 #7C2654 #AB3474 #CA5293 #D981B0

Accessibility & contrast

On white

6.04
#AB3474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB3474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3474
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3474#FFFFFF#000000##FFFFFF
##AB34741.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475576
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#B82D4F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3474;
/* rgb */ color: rgb(171, 52, 116);
/* oklch */ color: oklch(52.0% 0.167 351.3);
Tailwind
colors: {
  custom: {
    50: '#c8759c',
    500: '#ab3474',
    950: '#000000',
  },
}
SCSS
$custom: #ab3474;
$custom-light: #c8759c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3474",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 327.731,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.16654,
    "h": 351.3
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#AB3474
secondary
#79C29B
accent
#DD8E4B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3474

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

Preview Lab → · Contrast checker → · Palette generator →

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