#AB3272#AB3272

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

Color values

HEX#AB3272
RGBrgb(171, 50, 114)
HSLhsl(328, 55%, 43%)
HSVhsv(328, 71%, 67%)
CMYKcmyk(0%, 70.8%, 33.3%, 32.9%)
CIE-LABlab(41.46, 54.46, -8.95)
CIE-LCHlch(41.46, 55.19, 350.66°)
OKLaboklab(51.75% 0.1665 -0.0231)
OKLCHoklch(51.75% 0.168 352.1)
XYZxyz(20.9736, 12.1564, 17.1582)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3272 #32AB6B
analogous
#A732AB #AB3272 #AB3236
triadic
#AB3272 #72AB32 #3272AB
tetradic
#AB3272 #ABA732 #32AB6B #3236AB
square
#AB3272 #ABA732 #32AB6B #3236AB
split-complementary
#AB3272 #36AB32 #32ABA7
monochromatic
#4C1633 #7C2452 #AB3272 #CB4F91 #D97EAE

Accessibility & contrast

On white

6.12
#AB3272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB3272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3272
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3272#FFFFFF#000000##FFFFFF
##AB32721.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465474
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#B8294D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3272;
/* rgb */ color: rgb(171, 50, 114);
/* oklch */ color: oklch(51.8% 0.168 352.1);
Tailwind
colors: {
  custom: {
    50: '#c8749a',
    500: '#ab3272',
    950: '#000000',
  },
}
SCSS
$custom: #ab3272;
$custom-light: #c8749a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3272",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 328.264,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.16807,
    "h": 352.1
  },
  "luminance": 0.12154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3272

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

Preview Lab → · Contrast checker → · Palette generator →

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