#AB396B#AB396B

#AB396B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.2% C 0.156 H 356.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB396B
RGBrgb(171, 57, 107)
HSLhsl(334, 50%, 45%)
HSVhsv(334, 67%, 67%)
CMYKcmyk(0%, 66.7%, 37.4%, 32.9%)
CIE-LABlab(42.23, 50.87, -3.46)
CIE-LCHlch(42.23, 50.99, 356.10°)
OKLaboklab(52.24% 0.1556 -0.0085)
OKLCHoklch(52.24% 0.156 356.9)
XYZxyz(20.9128, 12.6481, 15.2471)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB396B #39AB79
analogous
#AB39A4 #AB396B #AB4039
triadic
#AB396B #6BAB39 #396BAB
tetradic
#AB396B #A4AB39 #39AB79 #4039AB
square
#AB396B #A4AB39 #39AB79 #4039AB
split-complementary
#AB396B #39AB40 #39A4AB
monochromatic
#4F1A32 #7D2A4E #AB396B #C8598A #D787AA

Accessibility & contrast

On white

5.95
#AB396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB396B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB396B#FFFFFF#000000##FFFFFF
##AB396B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#6C6C68
Tritanopia (blue-blind)
#B82E4D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab396b;
/* rgb */ color: rgb(171, 57, 107);
/* oklch */ color: oklch(52.2% 0.156 356.9);
Tailwind
colors: {
  custom: {
    50: '#c87795',
    500: '#ab396b',
    950: '#000000',
  },
}
SCSS
$custom: #ab396b;
$custom-light: #c87795;
$custom-dark: #000000;
JSON
{
  "hex": "#ab396b",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 333.684,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.15586,
    "h": 356.9
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#AB396B
secondary
#7FC1A4
accent
#DA9C4E
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB396B

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

Preview Lab → · Contrast checker → · Palette generator →

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