#AB386E#AB386E

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

Color values

HEX#AB386E
RGBrgb(171, 56, 110)
HSLhsl(332, 51%, 45%)
HSVhsv(332, 67%, 67%)
CMYKcmyk(0%, 67.3%, 35.7%, 32.9%)
CIE-LABlab(42.18, 51.63, -5.40)
CIE-LCHlch(42.18, 51.91, 354.03°)
OKLaboklab(52.23% 0.1579 -0.0136)
OKLCHoklch(52.23% 0.158 355.1)
XYZxyz(21.0245, 12.6145, 16.0765)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB386E #38AB75
analogous
#AB38A8 #AB386E #AB3B38
triadic
#AB386E #6EAB38 #386EAB
tetradic
#AB386E #A8AB38 #38AB75 #3B38AB
square
#AB386E #A8AB38 #38AB75 #3B38AB
split-complementary
#AB386E #38AB3B #38A8AB
monochromatic
#4F1A33 #7D2950 #AB386E #C8588D #D786AC

Accessibility & contrast

On white

5.96
#AB386E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB386E
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB386E#FFFFFF#000000##FFFFFF
##AB386E1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5670
Deuteranopia (green-blind)
#6B6B6B
Tritanopia (blue-blind)
#B82F4E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab386e;
/* rgb */ color: rgb(171, 56, 110);
/* oklch */ color: oklch(52.2% 0.158 355.1);
Tailwind
colors: {
  custom: {
    50: '#c87697',
    500: '#ab386e',
    950: '#000000',
  },
}
SCSS
$custom: #ab386e;
$custom-light: #c87697;
$custom-dark: #000000;
JSON
{
  "hex": "#ab386e",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 331.826,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.15846,
    "h": 355.1
  },
  "luminance": 0.12612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB386E

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

Preview Lab → · Contrast checker → · Palette generator →

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