#AB2F73#AB2F73

#AB2F73 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.172 H 351.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB2F73
RGBrgb(171, 47, 115)
HSLhsl(327, 57%, 43%)
HSVhsv(327, 73%, 67%)
CMYKcmyk(0%, 72.5%, 32.7%, 32.9%)
CIE-LABlab(41.11, 55.67, -10.11)
CIE-LCHlch(41.11, 56.59, 349.71°)
OKLaboklab(51.5% 0.1702 -0.0262)
OKLCHoklch(51.5% 0.172 351.2)
XYZxyz(20.9068, 11.9312, 17.4183)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F73 #2FAB67
analogous
#A52FAB #AB2F73 #AB2F35
triadic
#AB2F73 #73AB2F #2F73AB
tetradic
#AB2F73 #ABA52F #2FAB67 #2F35AB
square
#AB2F73 #ABA52F #2FAB67 #2F35AB
split-complementary
#AB2F73 #35AB2F #2FABA5
monochromatic
#4B1532 #7B2253 #AB2F73 #CD4A92 #DA7AAF

Accessibility & contrast

On white

6.20
#AB2F73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB2F73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F73
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F73#FFFFFF#000000##FFFFFF
##AB2F731.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2f73;
/* rgb */ color: rgb(171, 47, 115);
/* oklch */ color: oklch(51.5% 0.172 351.2);
Tailwind
colors: {
  custom: {
    50: '#c8729b',
    500: '#ab2f73',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f73;
$custom-light: #c8729b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f73",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 327.097,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51503,
    "c": 0.17222,
    "h": 351.2
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#AB2F73
secondary
#73C397
accent
#E08D48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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