#AB2973#AB2973

#AB2973 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 350.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB2973
RGBrgb(171, 41, 115)
HSLhsl(326, 61%, 42%)
HSVhsv(326, 76%, 67%)
CMYKcmyk(0%, 76%, 32.7%, 32.9%)
CIE-LABlab(40.38, 57.71, -11.20)
CIE-LCHlch(40.38, 58.79, 349.02°)
OKLaboklab(50.98% 0.1766 -0.0291)
OKLCHoklch(50.98% 0.179 350.6)
XYZxyz(20.6832, 11.4840, 17.3438)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2973 #29AB61
analogous
#A229AB #AB2973 #AB2932
triadic
#AB2973 #73AB29 #2973AB
tetradic
#AB2973 #ABA229 #29AB61 #2932AB
square
#AB2973 #ABA229 #29AB61 #2932AB
split-complementary
#AB2973 #32AB29 #29ABA2
monochromatic
#481131 #7A1D52 #AB2973 #D14093 #DD71AF

Accessibility & contrast

On white

6.37
#AB2973 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2973 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2973
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2973#FFFFFF#000000##FFFFFF
##AB29731.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5075
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#B81F4A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2973;
/* rgb */ color: rgb(171, 41, 115);
/* oklch */ color: oklch(51.0% 0.179 350.6);
Tailwind
colors: {
  custom: {
    50: '#c9709b',
    500: '#ab2973',
    950: '#000000',
  },
}
SCSS
$custom: #ab2973;
$custom-light: #c9709b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2973",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 325.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50975,
    "c": 0.17899,
    "h": 350.6
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#AB2973
secondary
#6CC492
accent
#E48943
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2973

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

Preview Lab → · Contrast checker → · Palette generator →

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