#AB388F#AB388F

#AB388F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.178 H 338.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB388F
RGBrgb(171, 56, 143)
HSLhsl(315, 51%, 45%)
HSVhsv(315, 67%, 67%)
CMYKcmyk(0%, 67.3%, 16.4%, 32.9%)
CIE-LABlab(43.47, 56.02, -23.68)
CIE-LCHlch(43.47, 60.82, 337.08°)
OKLaboklab(53.6% 0.1658 -0.064)
OKLCHoklch(53.6% 0.178 338.9)
XYZxyz(23.1672, 13.4715, 27.3614)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB388F #38AB54
analogous
#8E38AB #AB388F #AB3855
triadic
#AB388F #8FAB38 #388FAB
tetradic
#AB388F #AB8E38 #38AB54 #3855AB
square
#AB388F #AB8E38 #38AB54 #3855AB
split-complementary
#AB388F #55AB38 #38AB8E
monochromatic
#4F1A42 #7D2968 #AB388F #C858AD #D786C4

Accessibility & contrast

On white

5.69
#AB388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB388F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB388F#FFFFFF#000000##FFFFFF
##AB388F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#B43C5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab388f;
/* rgb */ color: rgb(171, 56, 143);
/* oklch */ color: oklch(53.6% 0.178 338.9);
Tailwind
colors: {
  custom: {
    50: '#c777b0',
    500: '#ab388f',
    950: '#000000',
  },
}
SCSS
$custom: #ab388f;
$custom-light: #c777b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab388f",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 314.609,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.536,
    "c": 0.17776,
    "h": 338.9
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#AB388F
secondary
#7DC18E
accent
#DA704E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB388F

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

Preview Lab → · Contrast checker → · Palette generator →

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