#AB336A#AB336A

#AB336A is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.163 H 356.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB336A
RGBrgb(171, 51, 106)
HSLhsl(333, 54%, 44%)
HSVhsv(333, 70%, 67%)
CMYKcmyk(0%, 70.2%, 38%, 32.9%)
CIE-LABlab(41.32, 53.16, -4.18)
CIE-LCHlch(41.32, 53.32, 355.51°)
OKLaboklab(51.56% 0.1629 -0.0103)
OKLCHoklch(51.56% 0.163 356.4)
XYZxyz(20.5812, 12.0686, 14.8785)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB336A #33AB74
analogous
#AB33A6 #AB336A #AB3833
triadic
#AB336A #6AAB33 #336AAB
tetradic
#AB336A #A6AB33 #33AB74 #3833AB
square
#AB336A #A6AB33 #33AB74 #3833AB
split-complementary
#AB336A #33AB38 #33A6AB
monochromatic
#4D1730 #7C254D #AB336A #CB5088 #D97FA8

Accessibility & contrast

On white

6.15
#AB336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AB336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB336A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB336A#FFFFFF#000000##FFFFFF
##AB336A1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49536B
Deuteranopia (green-blind)
#6A6A67
Tritanopia (blue-blind)
#B9274A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab336a;
/* rgb */ color: rgb(171, 51, 106);
/* oklch */ color: oklch(51.6% 0.163 356.4);
Tailwind
colors: {
  custom: {
    50: '#c87494',
    500: '#ab336a',
    950: '#000000',
  },
}
SCSS
$custom: #ab336a;
$custom-light: #c87494;
$custom-dark: #000000;
JSON
{
  "hex": "#ab336a",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 332.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.16321,
    "h": 356.4
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#AB336A
secondary
#78C2A0
accent
#DD9A4A
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB336A

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

Preview Lab → · Contrast checker → · Palette generator →

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