#AB336F#AB336F

#AB336F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.7% C 0.165 H 353.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB336F
RGBrgb(171, 51, 111)
HSLhsl(330, 54%, 44%)
HSVhsv(330, 70%, 67%)
CMYKcmyk(0%, 70.2%, 35.1%, 32.9%)
CIE-LABlab(41.49, 53.73, -7.04)
CIE-LCHlch(41.49, 54.19, 352.53°)
OKLaboklab(51.74% 0.1644 -0.0179)
OKLCHoklch(51.74% 0.165 353.8)
XYZxyz(20.8489, 12.1757, 16.2880)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB336F #33AB6F
analogous
#AB33AB #AB336F #AB3333
triadic
#AB336F #6FAB33 #336FAB
tetradic
#AB336F #ABAB33 #33AB6F #3333AB
square
#AB336F #ABAB33 #33AB6F #3333AB
split-complementary
#AB336F #33AB33 #33ABAB
monochromatic
#4D1732 #7C2550 #AB336F #CB508E #D97FAC

Accessibility & contrast

On white

6.11
#AB336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB336F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB336F#FFFFFF#000000##FFFFFF
##AB336F1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#B8294C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab336f;
/* rgb */ color: rgb(171, 51, 111);
/* oklch */ color: oklch(51.7% 0.165 353.8);
Tailwind
colors: {
  custom: {
    50: '#c87498',
    500: '#ab336f',
    950: '#000000',
  },
}
SCSS
$custom: #ab336f;
$custom-light: #c87498;
$custom-dark: #000000;
JSON
{
  "hex": "#ab336f",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 330,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51741,
    "c": 0.1654,
    "h": 353.8
  },
  "luminance": 0.12173
}

Semantic roles & 50–950 ramp

primary
#AB336F
secondary
#78C29D
accent
#DD944A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB336F

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

Preview Lab → · Contrast checker → · Palette generator →

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