#AB2B73#AB2B73

#AB2B73 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.177 H 350.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB2B73
RGBrgb(171, 43, 115)
HSLhsl(326, 60%, 42%)
HSVhsv(326, 75%, 67%)
CMYKcmyk(0%, 74.9%, 32.7%, 32.9%)
CIE-LABlab(40.62, 57.06, -10.85)
CIE-LCHlch(40.62, 58.08, 349.23°)
OKLaboklab(51.14% 0.1746 -0.0282)
OKLCHoklch(51.14% 0.177 350.8)
XYZxyz(20.7541, 11.6259, 17.3674)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B73 #2BAB63
analogous
#A32BAB #AB2B73 #AB2B33
triadic
#AB2B73 #73AB2B #2B73AB
tetradic
#AB2B73 #ABA32B #2BAB63 #2B33AB
square
#AB2B73 #ABA32B #2BAB63 #2B33AB
split-complementary
#AB2B73 #33AB2B #2BABA3
monochromatic
#491231 #7A1F52 #AB2B73 #D04392 #DC74AF

Accessibility & contrast

On white

6.32
#AB2B73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB2B73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B73
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B73#FFFFFF#000000##FFFFFF
##AB2B731.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415175
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#B8224B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b73;
/* rgb */ color: rgb(171, 43, 115);
/* oklch */ color: oklch(51.1% 0.177 350.8);
Tailwind
colors: {
  custom: {
    50: '#c8719b',
    500: '#ab2b73',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b73;
$custom-light: #c8719b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b73",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 326.25,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51144,
    "c": 0.17681,
    "h": 350.8
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#AB2B73
secondary
#6EC494
accent
#E38A45
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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