#AB396F#AB396F

#AB396F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.4% C 0.158 H 354.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB396F
RGBrgb(171, 57, 111)
HSLhsl(332, 50%, 45%)
HSVhsv(332, 67%, 67%)
CMYKcmyk(0%, 66.7%, 35.1%, 32.9%)
CIE-LABlab(42.36, 51.33, -5.75)
CIE-LCHlch(42.36, 51.65, 353.61°)
OKLaboklab(52.38% 0.1569 -0.0145)
OKLCHoklch(52.38% 0.158 354.7)
XYZxyz(21.1282, 12.7343, 16.3811)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB396F #39AB75
analogous
#AB39A8 #AB396F #AB3C39
triadic
#AB396F #6FAB39 #396FAB
tetradic
#AB396F #A8AB39 #39AB75 #3C39AB
square
#AB396F #A8AB39 #39AB75 #3C39AB
split-complementary
#AB396F #39AB3C #39A8AB
monochromatic
#4F1A33 #7D2A51 #AB396F #C8598E #D787AD

Accessibility & contrast

On white

5.92
#AB396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB396F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB396F#FFFFFF#000000##FFFFFF
##AB396F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5771
Deuteranopia (green-blind)
#6C6C6C
Tritanopia (blue-blind)
#B8304F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab396f;
/* rgb */ color: rgb(171, 57, 111);
/* oklch */ color: oklch(52.4% 0.158 354.7);
Tailwind
colors: {
  custom: {
    50: '#c87798',
    500: '#ab396f',
    950: '#000000',
  },
}
SCSS
$custom: #ab396f;
$custom-light: #c87798;
$custom-dark: #000000;
JSON
{
  "hex": "#ab396f",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 331.579,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.15757,
    "h": 354.7
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#AB396F
secondary
#7FC1A2
accent
#DA984E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB396F

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

Preview Lab → · Contrast checker → · Palette generator →

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