#AB3C8D#AB3C8D

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

Color values

HEX#AB3C8D
RGBrgb(171, 60, 141)
HSLhsl(316, 48%, 45%)
HSVhsv(316, 65%, 67%)
CMYKcmyk(0%, 64.9%, 17.5%, 32.9%)
CIE-LABlab(43.97, 54.09, -21.70)
CIE-LCHlch(43.97, 58.28, 338.14°)
OKLaboklab(53.94% 0.1606 -0.0584)
OKLCHoklch(53.94% 0.171 340)
XYZxyz(23.2187, 13.8148, 26.6378)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3C8D #3CAB5A
analogous
#913CAB #AB3C8D #AB3C56
triadic
#AB3C8D #8DAB3C #3C8DAB
tetradic
#AB3C8D #AB913C #3CAB5A #3C56AB
square
#AB3C8D #AB913C #3CAB5A #3C56AB
split-complementary
#AB3C8D #56AB3C #3CAB91
monochromatic
#501C42 #7E2C68 #AB3C8D #C65EAA #D68BC2

Accessibility & contrast

On white

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

On black

3.76
#AB3C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB3C8D#FFFFFF#000000##FFFFFF
##AB3C8D1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D8F
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#B53F5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3c8d;
/* rgb */ color: rgb(171, 60, 141);
/* oklch */ color: oklch(53.9% 0.171 340.0);
Tailwind
colors: {
  custom: {
    50: '#c779ae',
    500: '#ab3c8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab3c8d;
$custom-light: #c779ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3c8d",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 316.216,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.17088,
    "h": 340
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#AB3C8D
secondary
#82C193
accent
#D87550
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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