#AB396C#AB396C

#AB396C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.3% C 0.156 H 356.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AB396C
RGBrgb(171, 57, 108)
HSLhsl(333, 50%, 45%)
HSVhsv(333, 67%, 67%)
CMYKcmyk(0%, 66.7%, 36.8%, 32.9%)
CIE-LABlab(42.26, 50.98, -4.04)
CIE-LCHlch(42.26, 51.14, 355.47°)
OKLaboklab(52.27% 0.156 -0.01)
OKLCHoklch(52.27% 0.156 356.3)
XYZxyz(20.9657, 12.6693, 15.5258)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB396C #39AB78
analogous
#AB39A5 #AB396C #AB3F39
triadic
#AB396C #6CAB39 #396CAB
tetradic
#AB396C #A5AB39 #39AB78 #3F39AB
square
#AB396C #A5AB39 #39AB78 #3F39AB
split-complementary
#AB396C #39AB3F #39A5AB
monochromatic
#4F1A32 #7D2A4F #AB396C #C8598B #D787AB

Accessibility & contrast

On white

5.94
#AB396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB396C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB396C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB396C#FFFFFF#000000##FFFFFF
##AB396C1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#6C6C69
Tritanopia (blue-blind)
#B82F4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab396c;
/* rgb */ color: rgb(171, 57, 108);
/* oklch */ color: oklch(52.3% 0.156 356.3);
Tailwind
colors: {
  custom: {
    50: '#c87796',
    500: '#ab396c',
    950: '#000000',
  },
}
SCSS
$custom: #ab396c;
$custom-light: #c87796;
$custom-dark: #000000;
JSON
{
  "hex": "#ab396c",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 333.158,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52273,
    "c": 0.15627,
    "h": 356.3
  },
  "luminance": 0.12667
}

Semantic roles & 50–950 ramp

primary
#AB396C
secondary
#7FC1A3
accent
#DA9B4E
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB396C

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

Preview Lab → · Contrast checker → · Palette generator →

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