#AB2B72#AB2B72

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

Color values

HEX#AB2B72
RGBrgb(171, 43, 114)
HSLhsl(327, 60%, 42%)
HSVhsv(327, 75%, 67%)
CMYKcmyk(0%, 74.9%, 33.3%, 32.9%)
CIE-LABlab(40.58, 56.94, -10.29)
CIE-LCHlch(40.58, 57.86, 349.76°)
OKLaboklab(51.11% 0.1743 -0.0266)
OKLCHoklch(51.11% 0.176 351.3)
XYZxyz(20.6969, 11.6030, 17.0660)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B72 #2BAB64
analogous
#A42BAB #AB2B72 #AB2B32
triadic
#AB2B72 #72AB2B #2B72AB
tetradic
#AB2B72 #ABA42B #2BAB64 #2B32AB
square
#AB2B72 #ABA42B #2BAB64 #2B32AB
split-complementary
#AB2B72 #32AB2B #2BABA4
monochromatic
#491231 #7A1F51 #AB2B72 #D04391 #DC74AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2B72#FFFFFF#000000##FFFFFF
##AB2B721.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)
#415174
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#B8214B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b72;
/* rgb */ color: rgb(171, 43, 114);
/* oklch */ color: oklch(51.1% 0.176 351.3);
Tailwind
colors: {
  custom: {
    50: '#c8719a',
    500: '#ab2b72',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b72;
$custom-light: #c8719a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b72",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 326.719,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.17632,
    "h": 351.3
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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