#AB3276#AB3276

#AB3276 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.170 H 350.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AB3276
RGBrgb(171, 50, 118)
HSLhsl(326, 55%, 43%)
HSVhsv(326, 71%, 67%)
CMYKcmyk(0%, 70.8%, 31%, 32.9%)
CIE-LABlab(41.61, 54.94, -11.21)
CIE-LCHlch(41.61, 56.07, 348.46°)
OKLaboklab(51.91% 0.1676 -0.0292)
OKLCHoklch(51.91% 0.17 350.1)
XYZxyz(21.2063, 12.2495, 18.3836)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3276 #32AB67
analogous
#A332AB #AB3276 #AB3239
triadic
#AB3276 #76AB32 #3276AB
tetradic
#AB3276 #ABA332 #32AB67 #3239AB
square
#AB3276 #ABA332 #32AB67 #3239AB
split-complementary
#AB3276 #39AB32 #32ABA3
monochromatic
#4C1635 #7C2455 #AB3276 #CB4F95 #D97EB1

Accessibility & contrast

On white

6.09
#AB3276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AB3276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3276
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3276#FFFFFF#000000##FFFFFF
##AB32761.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445478
Deuteranopia (green-blind)
#676A73
Tritanopia (blue-blind)
#B82B4F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3276;
/* rgb */ color: rgb(171, 50, 118);
/* oklch */ color: oklch(51.9% 0.170 350.1);
Tailwind
colors: {
  custom: {
    50: '#c8749d',
    500: '#ab3276',
    950: '#000000',
  },
}
SCSS
$custom: #ab3276;
$custom-light: #c8749d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3276",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 326.281,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.1701,
    "h": 350.1
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

primary
#AB3276
secondary
#77C298
accent
#DE8B4A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3276

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

Preview Lab → · Contrast checker → · Palette generator →

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