#AB388C#AB388C

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

Color values

HEX#AB388C
RGBrgb(171, 56, 140)
HSLhsl(316, 51%, 45%)
HSVhsv(316, 67%, 67%)
CMYKcmyk(0%, 67.3%, 18.1%, 32.9%)
CIE-LABlab(43.33, 55.57, -22.07)
CIE-LCHlch(43.33, 59.80, 338.34°)
OKLaboklab(53.46% 0.1653 -0.0594)
OKLCHoklch(53.46% 0.176 340.2)
XYZxyz(22.9429, 13.3818, 26.1805)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB388C #38AB57
analogous
#9138AB #AB388C #AB3853
triadic
#AB388C #8CAB38 #388CAB
tetradic
#AB388C #AB9138 #38AB57 #3853AB
square
#AB388C #AB9138 #38AB57 #3853AB
split-complementary
#AB388C #53AB38 #38AB91
monochromatic
#4F1A41 #7D2966 #AB388C #C858AA #D786C1

Accessibility & contrast

On white

5.71
#AB388C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB388C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB388C#FFFFFF#000000##FFFFFF
##AB388C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8E
Deuteranopia (green-blind)
#636D89
Tritanopia (blue-blind)
#B53B5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab388c;
/* rgb */ color: rgb(171, 56, 140);
/* oklch */ color: oklch(53.5% 0.176 340.2);
Tailwind
colors: {
  custom: {
    50: '#c777ad',
    500: '#ab388c',
    950: '#000000',
  },
}
SCSS
$custom: #ab388c;
$custom-light: #c777ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab388c",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 316.174,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.17568,
    "h": 340.2
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#AB388C
secondary
#7DC190
accent
#DA744E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB388C

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

Preview Lab → · Contrast checker → · Palette generator →

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