#AB3073#AB3073

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

Color values

HEX#AB3073
RGBrgb(171, 48, 115)
HSLhsl(327, 56%, 43%)
HSVhsv(327, 72%, 67%)
CMYKcmyk(0%, 71.9%, 32.7%, 32.9%)
CIE-LABlab(41.24, 55.31, -9.92)
CIE-LCHlch(41.24, 56.20, 349.84°)
OKLaboklab(51.6% 0.1691 -0.0257)
OKLCHoklch(51.6% 0.171 351.4)
XYZxyz(20.9472, 12.0120, 17.4318)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3073 #30AB68
analogous
#A530AB #AB3073 #AB3036
triadic
#AB3073 #73AB30 #3073AB
tetradic
#AB3073 #ABA530 #30AB68 #3036AB
square
#AB3073 #ABA530 #30AB68 #3036AB
split-complementary
#AB3073 #36AB30 #30ABA5
monochromatic
#4B1533 #7B2353 #AB3073 #CD4C92 #DA7BAF

Accessibility & contrast

On white

6.17
#AB3073 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3073
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3073#FFFFFF#000000##FFFFFF
##AB30731.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445375
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#B8284D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3073;
/* rgb */ color: rgb(171, 48, 115);
/* oklch */ color: oklch(51.6% 0.171 351.4);
Tailwind
colors: {
  custom: {
    50: '#c8739b',
    500: '#ab3073',
    950: '#000000',
  },
}
SCSS
$custom: #ab3073;
$custom-light: #c8739b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3073",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 327.317,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.17102,
    "h": 351.4
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#AB3073
secondary
#74C398
accent
#DF8D48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3073

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

Preview Lab → · Contrast checker → · Palette generator →

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