#AB3E8A#AB3E8A

#AB3E8A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.0% C 0.166 H 341.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AB3E8A
RGBrgb(171, 62, 138)
HSLhsl(318, 47%, 46%)
HSVhsv(318, 64%, 67%)
CMYKcmyk(0%, 63.7%, 19.3%, 32.9%)
CIE-LABlab(44.15, 52.80, -19.60)
CIE-LCHlch(44.15, 56.32, 339.63°)
OKLaboklab(54.03% 0.1574 -0.0525)
OKLCHoklch(54.03% 0.166 341.5)
XYZxyz(23.1052, 13.9403, 25.5137)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E8A #3EAB5F
analogous
#953EAB #AB3E8A #AB3E53
triadic
#AB3E8A #8AAB3E #3E8AAB
tetradic
#AB3E8A #AB953E #3EAB5F #3E53AB
square
#AB3E8A #AB953E #3EAB5F #3E53AB
split-complementary
#AB3E8A #53AB3E #3EAB95
monochromatic
#511D42 #7E2E66 #AB3E8A #C661A7 #D68EC0

Accessibility & contrast

On white

5.54
#AB3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AB3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E8A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E8A#FFFFFF#000000##FFFFFF
##AB3E8A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#B53F5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3e8a;
/* rgb */ color: rgb(171, 62, 138);
/* oklch */ color: oklch(54.0% 0.166 341.5);
Tailwind
colors: {
  custom: {
    50: '#c77aac',
    500: '#ab3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e8a;
$custom-light: #c77aac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e8a",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 318.165,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.16597,
    "h": 341.5
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#AB3E8A
secondary
#84C196
accent
#D67A51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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