#AB3D8A#AB3D8A

#AB3D8A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.167 H 341.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AB3D8A
RGBrgb(171, 61, 138)
HSLhsl(318, 47%, 45%)
HSVhsv(318, 64%, 67%)
CMYKcmyk(0%, 64.3%, 19.3%, 32.9%)
CIE-LABlab(43.99, 53.22, -19.84)
CIE-LCHlch(43.99, 56.80, 339.56°)
OKLaboklab(53.92% 0.1587 -0.0532)
OKLCHoklch(53.92% 0.167 341.5)
XYZxyz(23.0514, 13.8325, 25.4957)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3D8A #3DAB5E
analogous
#953DAB #AB3D8A #AB3D53
triadic
#AB3D8A #8AAB3D #3D8AAB
tetradic
#AB3D8A #AB953D #3DAB5E #3D53AB
square
#AB3D8A #AB953D #3DAB5E #3D53AB
split-complementary
#AB3D8A #53AB3D #3DAB95
monochromatic
#511D41 #7E2D66 #AB3D8A #C65FA7 #D68CC0

Accessibility & contrast

On white

5.58
#AB3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AB3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3D8A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3D8A#FFFFFF#000000##FFFFFF
##AB3D8A1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3d8a;
/* rgb */ color: rgb(171, 61, 138);
/* oklch */ color: oklch(53.9% 0.167 341.5);
Tailwind
colors: {
  custom: {
    50: '#c77aac',
    500: '#ab3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab3d8a;
$custom-light: #c77aac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3d8a",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 318,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.1674,
    "h": 341.5
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#AB3D8A
secondary
#83C196
accent
#D77951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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