#AB2B76#AB2B76

#AB2B76 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.178 H 349.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AB2B76
RGBrgb(171, 43, 118)
HSLhsl(325, 60%, 42%)
HSVhsv(325, 75%, 67%)
CMYKcmyk(0%, 74.9%, 31%, 32.9%)
CIE-LABlab(40.73, 57.41, -12.55)
CIE-LCHlch(40.73, 58.77, 347.67°)
OKLaboklab(51.26% 0.1753 -0.0328)
OKLCHoklch(51.26% 0.178 349.4)
XYZxyz(20.9296, 11.6961, 18.2914)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2B76 #2BAB60
analogous
#A02BAB #AB2B76 #AB2B36
triadic
#AB2B76 #76AB2B #2B76AB
tetradic
#AB2B76 #ABA02B #2BAB60 #2B36AB
square
#AB2B76 #ABA02B #2BAB60 #2B36AB
split-complementary
#AB2B76 #36AB2B #2BABA0
monochromatic
#491233 #7A1F54 #AB2B76 #D04396 #DC74B1

Accessibility & contrast

On white

6.29
#AB2B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB2B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2B76
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2B76#FFFFFF#000000##FFFFFF
##AB2B761.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5278
Deuteranopia (green-blind)
#656873
Tritanopia (blue-blind)
#B8244D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2b76;
/* rgb */ color: rgb(171, 43, 118);
/* oklch */ color: oklch(51.3% 0.178 349.4);
Tailwind
colors: {
  custom: {
    50: '#c8719d',
    500: '#ab2b76',
    950: '#000000',
  },
}
SCSS
$custom: #ab2b76;
$custom-light: #c8719d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2b76",
  "rgb": {
    "r": 171,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 324.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.17836,
    "h": 349.4
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#AB2B76
secondary
#6EC492
accent
#E38645
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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