#AB386A#AB386A

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

Color values

HEX#AB386A
RGBrgb(171, 56, 106)
HSLhsl(334, 51%, 45%)
HSVhsv(334, 67%, 67%)
CMYKcmyk(0%, 67.3%, 38%, 32.9%)
CIE-LABlab(42.05, 51.17, -3.11)
CIE-LCHlch(42.05, 51.26, 356.52°)
OKLaboklab(52.09% 0.1566 -0.0075)
OKLCHoklch(52.09% 0.157 357.2)
XYZxyz(20.8116, 12.5293, 14.9553)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB386A #38AB79
analogous
#AB38A4 #AB386A #AB3F38
triadic
#AB386A #6AAB38 #386AAB
tetradic
#AB386A #A4AB38 #38AB79 #3F38AB
square
#AB386A #A4AB38 #38AB79 #3F38AB
split-complementary
#AB386A #38AB3F #38A4AB
monochromatic
#4F1A31 #7D294D #AB386A #C85889 #D786A9

Accessibility & contrast

On white

5.99
#AB386A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB386A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB386A#FFFFFF#000000##FFFFFF
##AB386A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566B
Deuteranopia (green-blind)
#6C6B67
Tritanopia (blue-blind)
#B92D4C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab386a;
/* rgb */ color: rgb(171, 56, 106);
/* oklch */ color: oklch(52.1% 0.157 357.2);
Tailwind
colors: {
  custom: {
    50: '#c87694',
    500: '#ab386a',
    950: '#000000',
  },
}
SCSS
$custom: #ab386a;
$custom-light: #c87694;
$custom-dark: #000000;
JSON
{
  "hex": "#ab386a",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 333.913,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52093,
    "c": 0.15678,
    "h": 357.2
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#AB386A
secondary
#7DC1A4
accent
#DA9D4E
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB386A

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

Preview Lab → · Contrast checker → · Palette generator →

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