#AB386F#AB386F

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

Color values

HEX#AB386F
RGBrgb(171, 56, 111)
HSLhsl(331, 51%, 45%)
HSVhsv(331, 67%, 67%)
CMYKcmyk(0%, 67.3%, 35.1%, 32.9%)
CIE-LABlab(42.21, 51.74, -5.97)
CIE-LCHlch(42.21, 52.09, 353.41°)
OKLaboklab(52.27% 0.1582 -0.0151)
OKLCHoklch(52.27% 0.159 354.5)
XYZxyz(21.0792, 12.6364, 16.3648)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB386F #38AB74
analogous
#AB38A9 #AB386F #AB3A38
triadic
#AB386F #6FAB38 #386FAB
tetradic
#AB386F #A9AB38 #38AB74 #3A38AB
square
#AB386F #A9AB38 #38AB74 #3A38AB
split-complementary
#AB386F #38AB3A #38A9AB
monochromatic
#4F1A33 #7D2951 #AB386F #C8588E #D786AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB386F#FFFFFF#000000##FFFFFF
##AB386F1.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)
#4B5671
Deuteranopia (green-blind)
#6B6B6C
Tritanopia (blue-blind)
#B82F4F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab386f;
/* rgb */ color: rgb(171, 56, 111);
/* oklch */ color: oklch(52.3% 0.159 354.5);
Tailwind
colors: {
  custom: {
    50: '#c87698',
    500: '#ab386f',
    950: '#000000',
  },
}
SCSS
$custom: #ab386f;
$custom-light: #c87698;
$custom-dark: #000000;
JSON
{
  "hex": "#ab386f",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 331.304,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.15891,
    "h": 354.5
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#AB386F
secondary
#7DC1A1
accent
#DA974E
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB386F

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

Preview Lab → · Contrast checker → · Palette generator →

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