#AB3478#AB3478

#AB3478 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.2% C 0.169 H 349.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB3478
RGBrgb(171, 52, 120)
HSLhsl(326, 53%, 44%)
HSVhsv(326, 70%, 67%)
CMYKcmyk(0%, 69.6%, 29.8%, 32.9%)
CIE-LABlab(41.96, 54.43, -11.92)
CIE-LCHlch(41.96, 55.72, 347.64°)
OKLaboklab(52.19% 0.1657 -0.0312)
OKLCHoklch(52.19% 0.169 349.3)
XYZxyz(21.4138, 12.4723, 19.0453)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3478 #34AB67
analogous
#A234AB #AB3478 #AB343D
triadic
#AB3478 #78AB34 #3478AB
tetradic
#AB3478 #ABA234 #34AB67 #343DAB
square
#AB3478 #ABA234 #34AB67 #343DAB
split-complementary
#AB3478 #3DAB34 #34ABA2
monochromatic
#4D1736 #7C2657 #AB3478 #CA5297 #D981B3

Accessibility & contrast

On white

6.01
#AB3478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3478
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3478#FFFFFF#000000##FFFFFF
##AB34781.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567A
Deuteranopia (green-blind)
#676B75
Tritanopia (blue-blind)
#B72E51
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3478;
/* rgb */ color: rgb(171, 52, 120);
/* oklch */ color: oklch(52.2% 0.169 349.3);
Tailwind
colors: {
  custom: {
    50: '#c8759f',
    500: '#ab3478',
    950: '#000000',
  },
}
SCSS
$custom: #ab3478;
$custom-light: #c8759f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3478",
  "rgb": {
    "r": 171,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 325.714,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.16864,
    "h": 349.3
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#AB3478
secondary
#79C298
accent
#DD894B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3478

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

Preview Lab → · Contrast checker → · Palette generator →

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