#AB276B#AB276B

#AB276B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 354.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB276B
RGBrgb(171, 39, 107)
HSLhsl(329, 63%, 41%)
HSVhsv(329, 77%, 67%)
CMYKcmyk(0%, 77.2%, 37.4%, 32.9%)
CIE-LABlab(39.87, 57.44, -6.97)
CIE-LCHlch(39.87, 57.86, 353.08°)
OKLaboklab(50.51% 0.1764 -0.0177)
OKLCHoklch(50.51% 0.177 354.3)
XYZxyz(20.1753, 11.1730, 15.0012)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB276B #27AB67
analogous
#A927AB #AB276B #AB2729
triadic
#AB276B #6BAB27 #276BAB
tetradic
#AB276B #ABA927 #27AB67 #2729AB
square
#AB276B #ABA927 #27AB67 #2729AB
split-complementary
#AB276B #29AB27 #27ABA9
monochromatic
#47102D #791C4C #AB276B #D33D8A #DE6EA8

Accessibility & contrast

On white

6.49
#AB276B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB276B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB276B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB276B#FFFFFF#000000##FFFFFF
##AB276B1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#666768
Tritanopia (blue-blind)
#B91746
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab276b;
/* rgb */ color: rgb(171, 39, 107);
/* oklch */ color: oklch(50.5% 0.177 354.3);
Tailwind
colors: {
  custom: {
    50: '#c96f95',
    500: '#ab276b',
    950: '#000000',
  },
}
SCSS
$custom: #ab276b;
$custom-light: #c96f95;
$custom-dark: #000000;
JSON
{
  "hex": "#ab276b",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 329.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50505,
    "c": 0.1773,
    "h": 354.3
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#AB276B
secondary
#69C596
accent
#E69142
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB276B

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

Preview Lab → · Contrast checker → · Palette generator →

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