#AB386B#AB386B

#AB386B is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.157 H 356.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB386B
RGBrgb(171, 56, 107)
HSLhsl(333, 51%, 45%)
HSVhsv(333, 67%, 67%)
CMYKcmyk(0%, 67.3%, 37.4%, 32.9%)
CIE-LABlab(42.08, 51.28, -3.69)
CIE-LCHlch(42.08, 51.42, 355.89°)
OKLaboklab(52.13% 0.1569 -0.009)
OKLCHoklch(52.13% 0.157 356.7)
XYZxyz(20.8639, 12.5502, 15.2308)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB386B #38AB78
analogous
#AB38A5 #AB386B #AB3E38
triadic
#AB386B #6BAB38 #386BAB
tetradic
#AB386B #A5AB38 #38AB78 #3E38AB
square
#AB386B #A5AB38 #38AB78 #3E38AB
split-complementary
#AB386B #38AB3E #38A5AB
monochromatic
#4F1A31 #7D294E #AB386B #C8588A #D786AA

Accessibility & contrast

On white

5.98
#AB386B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB386B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB386B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB386B#FFFFFF#000000##FFFFFF
##AB386B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#B82D4D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab386b;
/* rgb */ color: rgb(171, 56, 107);
/* oklch */ color: oklch(52.1% 0.157 356.7);
Tailwind
colors: {
  custom: {
    50: '#c87695',
    500: '#ab386b',
    950: '#000000',
  },
}
SCSS
$custom: #ab386b;
$custom-light: #c87695;
$custom-dark: #000000;
JSON
{
  "hex": "#ab386b",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 333.391,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.15719,
    "h": 356.7
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#AB386B
secondary
#7DC1A3
accent
#DA9C4E
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB386B

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

Preview Lab → · Contrast checker → · Palette generator →

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