#AB3A8D#AB3A8D

#AB3A8D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.174 H 339.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB3A8D
RGBrgb(171, 58, 141)
HSLhsl(316, 49%, 45%)
HSVhsv(316, 66%, 67%)
CMYKcmyk(0%, 66.1%, 17.5%, 32.9%)
CIE-LABlab(43.67, 54.91, -22.16)
CIE-LCHlch(43.67, 59.22, 338.03°)
OKLaboklab(53.72% 0.1631 -0.0597)
OKLCHoklch(53.72% 0.174 339.9)
XYZxyz(23.1159, 13.6092, 26.6036)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3A8D #3AAB58
analogous
#903AAB #AB3A8D #AB3A55
triadic
#AB3A8D #8DAB3A #3A8DAB
tetradic
#AB3A8D #AB903A #3AAB58 #3A55AB
square
#AB3A8D #AB903A #3AAB58 #3A55AB
split-complementary
#AB3A8D #55AB3A #3AAB90
monochromatic
#501B42 #7D2A67 #AB3A8D #C75BAB #D789C2

Accessibility & contrast

On white

5.64
#AB3A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB3A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3A8D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3A8D#FFFFFF#000000##FFFFFF
##AB3A8D1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C8F
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#B53D5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3a8d;
/* rgb */ color: rgb(171, 58, 141);
/* oklch */ color: oklch(53.7% 0.174 339.9);
Tailwind
colors: {
  custom: {
    50: '#c778ae',
    500: '#ab3a8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab3a8d;
$custom-light: #c778ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3a8d",
  "rgb": {
    "r": 171,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 315.929,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.17365,
    "h": 339.9
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#AB3A8D
secondary
#80C191
accent
#D9744F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB3A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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