#AB386D#AB386D

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

Color values

HEX#AB386D
RGBrgb(171, 56, 109)
HSLhsl(332, 51%, 45%)
HSVhsv(332, 67%, 67%)
CMYKcmyk(0%, 67.3%, 36.3%, 32.9%)
CIE-LABlab(42.14, 51.51, -4.83)
CIE-LCHlch(42.14, 51.74, 354.64°)
OKLaboklab(52.2% 0.1576 -0.0121)
OKLCHoklch(52.2% 0.158 355.6)
XYZxyz(20.9703, 12.5928, 15.7913)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB386D #38AB76
analogous
#AB38A7 #AB386D #AB3D38
triadic
#AB386D #6DAB38 #386DAB
tetradic
#AB386D #A7AB38 #38AB76 #3D38AB
square
#AB386D #A7AB38 #38AB76 #3D38AB
split-complementary
#AB386D #38AB3D #38A7AB
monochromatic
#4F1A32 #7D2950 #AB386D #C8588C #D786AC

Accessibility & contrast

On white

5.97
#AB386D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AB386D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB386D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB386D#FFFFFF#000000##FFFFFF
##AB386D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C566E
Deuteranopia (green-blind)
#6C6B6A
Tritanopia (blue-blind)
#B82E4E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab386d;
/* rgb */ color: rgb(171, 56, 109);
/* oklch */ color: oklch(52.2% 0.158 355.6);
Tailwind
colors: {
  custom: {
    50: '#c87696',
    500: '#ab386d',
    950: '#000000',
  },
}
SCSS
$custom: #ab386d;
$custom-light: #c87696;
$custom-dark: #000000;
JSON
{
  "hex": "#ab386d",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 332.348,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.15803,
    "h": 355.6
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#AB386D
secondary
#7DC1A2
accent
#DA994E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB386D

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

Preview Lab → · Contrast checker → · Palette generator →

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