#AB4381#AB4381

#AB4381 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.2% C 0.153 H 346.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB4381
RGBrgb(171, 67, 129)
HSLhsl(324, 44%, 47%)
HSVhsv(324, 61%, 67%)
CMYKcmyk(0%, 60.8%, 24.6%, 32.9%)
CIE-LABlab(44.60, 49.29, -13.43)
CIE-LCHlch(44.60, 51.09, 344.75°)
OKLaboklab(54.25% 0.1486 -0.0354)
OKLCHoklch(54.25% 0.153 346.6)
XYZxyz(22.7650, 14.2594, 22.3180)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4381 #43AB6D
analogous
#A143AB #AB4381 #AB434D
triadic
#AB4381 #81AB43 #4381AB
tetradic
#AB4381 #ABA143 #43AB6D #434DAB
square
#AB4381 #ABA143 #43AB6D #434DAB
split-complementary
#AB4381 #4DAB43 #43ABA1
monochromatic
#53213F #7F3260 #AB4381 #C4689E #D594BA

Accessibility & contrast

On white

5.45
#AB4381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB4381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4381
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4381#FFFFFF#000000##FFFFFF
##AB43811.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E83
Deuteranopia (green-blind)
#6B707E
Tritanopia (blue-blind)
#B6415C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ab4381;
/* rgb */ color: rgb(171, 67, 129);
/* oklch */ color: oklch(54.2% 0.153 346.6);
Tailwind
colors: {
  custom: {
    50: '#c77da5',
    500: '#ab4381',
    950: '#000000',
  },
}
SCSS
$custom: #ab4381;
$custom-light: #c77da5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4381",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 324.231,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.15274,
    "h": 346.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#AB4381
secondary
#89C0A0
accent
#D38854
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB4381

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

Preview Lab → · Contrast checker → · Palette generator →

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