#AB387B#AB387B

#AB387B is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.165 H 348.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AB387B
RGBrgb(171, 56, 123)
HSLhsl(325, 51%, 45%)
HSVhsv(325, 67%, 67%)
CMYKcmyk(0%, 67.3%, 28.1%, 32.9%)
CIE-LABlab(42.64, 53.23, -12.74)
CIE-LCHlch(42.64, 54.73, 346.54°)
OKLaboklab(52.73% 0.1616 -0.0334)
OKLCHoklch(52.73% 0.165 348.3)
XYZxyz(21.7849, 12.9186, 20.0813)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB387B #38AB68
analogous
#A138AB #AB387B #AB3842
triadic
#AB387B #7BAB38 #387BAB
tetradic
#AB387B #ABA138 #38AB68 #3842AB
square
#AB387B #ABA138 #38AB68 #3842AB
split-complementary
#AB387B #42AB38 #38ABA1
monochromatic
#4F1A39 #7D295A #AB387B #C85899 #D786B5

Accessibility & contrast

On white

5.86
#AB387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AB387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB387B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB387B#FFFFFF#000000##FFFFFF
##AB387B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#B73454
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab387b;
/* rgb */ color: rgb(171, 56, 123);
/* oklch */ color: oklch(52.7% 0.165 348.3);
Tailwind
colors: {
  custom: {
    50: '#c877a1',
    500: '#ab387b',
    950: '#000000',
  },
}
SCSS
$custom: #ab387b;
$custom-light: #c877a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab387b",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 325.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.16503,
    "h": 348.3
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#AB387B
secondary
#7DC19A
accent
#DA884E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB387B

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

Preview Lab → · Contrast checker → · Palette generator →

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