#AB386C#AB386C

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

Color values

HEX#AB386C
RGBrgb(171, 56, 108)
HSLhsl(333, 51%, 45%)
HSVhsv(333, 67%, 67%)
CMYKcmyk(0%, 67.3%, 36.8%, 32.9%)
CIE-LABlab(42.11, 51.40, -4.26)
CIE-LCHlch(42.11, 51.57, 355.26°)
OKLaboklab(52.16% 0.1573 -0.0106)
OKLCHoklch(52.16% 0.158 356.2)
XYZxyz(20.9168, 12.5714, 15.5095)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB386C #38AB77
analogous
#AB38A6 #AB386C #AB3E38
triadic
#AB386C #6CAB38 #386CAB
tetradic
#AB386C #A6AB38 #38AB77 #3E38AB
square
#AB386C #A6AB38 #38AB77 #3E38AB
split-complementary
#AB386C #38AB3E #38A6AB
monochromatic
#4F1A32 #7D294F #AB386C #C8588B #D786AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB386C#FFFFFF#000000##FFFFFF
##AB386C1.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)
#4C566D
Deuteranopia (green-blind)
#6C6B69
Tritanopia (blue-blind)
#B82E4D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab386c;
/* rgb */ color: rgb(171, 56, 108);
/* oklch */ color: oklch(52.2% 0.158 356.2);
Tailwind
colors: {
  custom: {
    50: '#c87696',
    500: '#ab386c',
    950: '#000000',
  },
}
SCSS
$custom: #ab386c;
$custom-light: #c87696;
$custom-dark: #000000;
JSON
{
  "hex": "#ab386c",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 332.87,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.1576,
    "h": 356.2
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB386C

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

Preview Lab → · Contrast checker → · Palette generator →

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