#AB388D#AB388D

#AB388D is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.176 H 339.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AB388D
RGBrgb(171, 56, 141)
HSLhsl(316, 51%, 45%)
HSVhsv(316, 67%, 67%)
CMYKcmyk(0%, 67.3%, 17.5%, 32.9%)
CIE-LABlab(43.38, 55.72, -22.61)
CIE-LCHlch(43.38, 60.13, 337.92°)
OKLaboklab(53.51% 0.1655 -0.0609)
OKLCHoklch(53.51% 0.176 339.8)
XYZxyz(23.0170, 13.4115, 26.5706)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB388D #38AB56
analogous
#9038AB #AB388D #AB3854
triadic
#AB388D #8DAB38 #388DAB
tetradic
#AB388D #AB9038 #38AB56 #3854AB
square
#AB388D #AB9038 #38AB56 #3854AB
split-complementary
#AB388D #54AB38 #38AB90
monochromatic
#4F1A41 #7D2967 #AB388D #C858AB #D786C2

Accessibility & contrast

On white

5.70
#AB388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AB388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB388D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB388D#FFFFFF#000000##FFFFFF
##AB388D1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#B53B5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab388d;
/* rgb */ color: rgb(171, 56, 141);
/* oklch */ color: oklch(53.5% 0.176 339.8);
Tailwind
colors: {
  custom: {
    50: '#c777ae',
    500: '#ab388d',
    950: '#000000',
  },
}
SCSS
$custom: #ab388d;
$custom-light: #c777ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab388d",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 315.652,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53507,
    "c": 0.17637,
    "h": 339.8
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#AB388D
secondary
#7DC18F
accent
#DA724E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB388D

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

Preview Lab → · Contrast checker → · Palette generator →

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