#AB276A#AB276A

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

Color values

HEX#AB276A
RGBrgb(171, 39, 106)
HSLhsl(330, 63%, 41%)
HSVhsv(330, 77%, 67%)
CMYKcmyk(0%, 77.2%, 38%, 32.9%)
CIE-LABlab(39.84, 57.33, -6.39)
CIE-LCHlch(39.84, 57.69, 353.64°)
OKLaboklab(50.47% 0.1761 -0.0161)
OKLCHoklch(50.47% 0.177 354.8)
XYZxyz(20.1230, 11.1521, 14.7258)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB276A #27AB68
analogous
#AA27AB #AB276A #AB2728
triadic
#AB276A #6AAB27 #276AAB
tetradic
#AB276A #ABAA27 #27AB68 #2728AB
square
#AB276A #ABAA27 #27AB68 #2728AB
split-complementary
#AB276A #28AB27 #27ABAA
monochromatic
#47102C #791C4B #AB276A #D33D89 #DE6EA7

Accessibility & contrast

On white

6.50
#AB276A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB276A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB276A#FFFFFF#000000##FFFFFF
##AB276A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424E6C
Deuteranopia (green-blind)
#666767
Tritanopia (blue-blind)
#B91645
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab276a;
/* rgb */ color: rgb(171, 39, 106);
/* oklch */ color: oklch(50.5% 0.177 354.8);
Tailwind
colors: {
  custom: {
    50: '#c96f94',
    500: '#ab276a',
    950: '#000000',
  },
}
SCSS
$custom: #ab276a;
$custom-light: #c96f94;
$custom-dark: #000000;
JSON
{
  "hex": "#ab276a",
  "rgb": {
    "r": 171,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 329.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50468,
    "c": 0.17687,
    "h": 354.8
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#AB276A
secondary
#69C596
accent
#E69342
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AB276A

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

Preview Lab → · Contrast checker → · Palette generator →

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