#AB396D#AB396D

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

Color values

HEX#AB396D
RGBrgb(171, 57, 109)
HSLhsl(333, 50%, 45%)
HSVhsv(333, 67%, 67%)
CMYKcmyk(0%, 66.7%, 36.3%, 32.9%)
CIE-LABlab(42.29, 51.10, -4.61)
CIE-LCHlch(42.29, 51.31, 354.85°)
OKLaboklab(52.31% 0.1563 -0.0115)
OKLCHoklch(52.31% 0.157 355.8)
XYZxyz(21.0193, 12.6907, 15.8077)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB396D #39AB77
analogous
#AB39A6 #AB396D #AB3E39
triadic
#AB396D #6DAB39 #396DAB
tetradic
#AB396D #A6AB39 #39AB77 #3E39AB
square
#AB396D #A6AB39 #39AB77 #3E39AB
split-complementary
#AB396D #39AB3E #39A6AB
monochromatic
#4F1A32 #7D2A50 #AB396D #C8598C #D787AC

Accessibility & contrast

On white

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

On black

3.54
#AB396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB396D#FFFFFF#000000##FFFFFF
##AB396D1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab396d;
/* rgb */ color: rgb(171, 57, 109);
/* oklch */ color: oklch(52.3% 0.157 355.8);
Tailwind
colors: {
  custom: {
    50: '#c87796',
    500: '#ab396d',
    950: '#000000',
  },
}
SCSS
$custom: #ab396d;
$custom-light: #c87796;
$custom-dark: #000000;
JSON
{
  "hex": "#ab396d",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 332.632,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.15669,
    "h": 355.8
  },
  "luminance": 0.12688
}

Semantic roles & 50–950 ramp

primary
#AB396D
secondary
#7FC1A3
accent
#DA9A4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB396D

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

Preview Lab → · Contrast checker → · Palette generator →

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