#AB388B#AB388B

#AB388B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.175 H 340.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AB388B
RGBrgb(171, 56, 139)
HSLhsl(317, 51%, 45%)
HSVhsv(317, 67%, 67%)
CMYKcmyk(0%, 67.3%, 18.7%, 32.9%)
CIE-LABlab(43.29, 55.43, -21.53)
CIE-LCHlch(43.29, 59.46, 338.77°)
OKLaboklab(53.42% 0.1651 -0.0579)
OKLCHoklch(53.42% 0.175 340.7)
XYZxyz(22.8695, 13.3525, 25.7939)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB388B #38AB58
analogous
#9238AB #AB388B #AB3851
triadic
#AB388B #8BAB38 #388BAB
tetradic
#AB388B #AB9238 #38AB58 #3851AB
square
#AB388B #AB9238 #38AB58 #3851AB
split-complementary
#AB388B #51AB38 #38AB92
monochromatic
#4F1A40 #7D2966 #AB388B #C858A9 #D786C1

Accessibility & contrast

On white

5.72
#AB388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AB388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB388B
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB388B#FFFFFF#000000##FFFFFF
##AB388B1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8D
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#B53A5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ab388b;
/* rgb */ color: rgb(171, 56, 139);
/* oklch */ color: oklch(53.4% 0.175 340.7);
Tailwind
colors: {
  custom: {
    50: '#c777ad',
    500: '#ab388b',
    950: '#000000',
  },
}
SCSS
$custom: #ab388b;
$custom-light: #c777ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab388b",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 316.696,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.175,
    "h": 340.7
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB388B

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

Preview Lab → · Contrast checker → · Palette generator →

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