#AB3072#AB3072

#AB3072 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.171 H 351.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB3072
RGBrgb(171, 48, 114)
HSLhsl(328, 56%, 43%)
HSVhsv(328, 72%, 67%)
CMYKcmyk(0%, 71.9%, 33.3%, 32.9%)
CIE-LABlab(41.20, 55.20, -9.35)
CIE-LCHlch(41.20, 55.98, 350.39°)
OKLaboklab(51.56% 0.1688 -0.0241)
OKLCHoklch(51.56% 0.171 351.9)
XYZxyz(20.8900, 11.9891, 17.1304)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3072 #30AB69
analogous
#A630AB #AB3072 #AB3034
triadic
#AB3072 #72AB30 #3072AB
tetradic
#AB3072 #ABA630 #30AB69 #3034AB
square
#AB3072 #ABA630 #30AB69 #3034AB
split-complementary
#AB3072 #34AB30 #30ABA6
monochromatic
#4B1532 #7B2352 #AB3072 #CD4C91 #DA7BAE

Accessibility & contrast

On white

6.18
#AB3072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB3072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3072
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3072#FFFFFF#000000##FFFFFF
##AB30721.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455374
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#B8274D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3072;
/* rgb */ color: rgb(171, 48, 114);
/* oklch */ color: oklch(51.6% 0.171 351.9);
Tailwind
colors: {
  custom: {
    50: '#c8739a',
    500: '#ab3072',
    950: '#000000',
  },
}
SCSS
$custom: #ab3072;
$custom-light: #c8739a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3072",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 327.805,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.17052,
    "h": 351.9
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#AB3072
secondary
#74C399
accent
#DF8E48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3072

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

Preview Lab → · Contrast checker → · Palette generator →

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