#AB3279#AB3279

#AB3279 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.172 H 348.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB3279
RGBrgb(171, 50, 121)
HSLhsl(325, 55%, 43%)
HSVhsv(325, 71%, 67%)
CMYKcmyk(0%, 70.8%, 29.2%, 32.9%)
CIE-LABlab(41.72, 55.31, -12.90)
CIE-LCHlch(41.72, 56.80, 346.87°)
OKLaboklab(52.03% 0.1683 -0.0338)
OKLCHoklch(52.03% 0.172 348.6)
XYZxyz(21.3874, 12.3219, 19.3375)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3279 #32AB64
analogous
#A032AB #AB3279 #AB323D
triadic
#AB3279 #79AB32 #3279AB
tetradic
#AB3279 #ABA032 #32AB64 #323DAB
square
#AB3279 #ABA032 #32AB64 #323DAB
split-complementary
#AB3279 #3DAB32 #32ABA0
monochromatic
#4C1636 #7C2457 #AB3279 #CB4F98 #D97EB4

Accessibility & contrast

On white

6.06
#AB3279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB3279 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3279
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3279#FFFFFF#000000##FFFFFF
##AB32791.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557B
Deuteranopia (green-blind)
#666A76
Tritanopia (blue-blind)
#B72D51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3279;
/* rgb */ color: rgb(171, 50, 121);
/* oklch */ color: oklch(52.0% 0.172 348.6);
Tailwind
colors: {
  custom: {
    50: '#c8749f',
    500: '#ab3279',
    950: '#000000',
  },
}
SCSS
$custom: #ab3279;
$custom-light: #c8749f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3279",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 324.793,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.17171,
    "h": 348.6
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#AB3279
secondary
#77C296
accent
#DE874A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3279

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

Preview Lab → · Contrast checker → · Palette generator →

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