#AB3273#AB3273

#AB3273 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.169 H 351.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB3273
RGBrgb(171, 50, 115)
HSLhsl(328, 55%, 43%)
HSVhsv(328, 71%, 67%)
CMYKcmyk(0%, 70.8%, 32.7%, 32.9%)
CIE-LABlab(41.50, 54.58, -9.52)
CIE-LCHlch(41.50, 55.40, 350.11°)
OKLaboklab(51.79% 0.1668 -0.0246)
OKLCHoklch(51.79% 0.169 351.6)
XYZxyz(21.0308, 12.1793, 17.4596)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3273 #32AB6A
analogous
#A632AB #AB3273 #AB3236
triadic
#AB3273 #73AB32 #3273AB
tetradic
#AB3273 #ABA632 #32AB6A #3236AB
square
#AB3273 #ABA632 #32AB6A #3236AB
split-complementary
#AB3273 #36AB32 #32ABA6
monochromatic
#4C1633 #7C2453 #AB3273 #CB4F92 #D97EAF

Accessibility & contrast

On white

6.11
#AB3273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB3273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3273
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3273#FFFFFF#000000##FFFFFF
##AB32731.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465475
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#B82A4E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3273;
/* rgb */ color: rgb(171, 50, 115);
/* oklch */ color: oklch(51.8% 0.169 351.6);
Tailwind
colors: {
  custom: {
    50: '#c8749b',
    500: '#ab3273',
    950: '#000000',
  },
}
SCSS
$custom: #ab3273;
$custom-light: #c8749b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3273",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 115
  },
  "hsl": {
    "h": 327.769,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.16857,
    "h": 351.6
  },
  "luminance": 0.12177
}

Semantic roles & 50–950 ramp

primary
#AB3273
secondary
#77C29A
accent
#DE8E4A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3273

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

Preview Lab → · Contrast checker → · Palette generator →

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