#AB3D8E#AB3D8E

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

Color values

HEX#AB3D8E
RGBrgb(171, 61, 142)
HSLhsl(316, 47%, 45%)
HSVhsv(316, 64%, 67%)
CMYKcmyk(0%, 64.3%, 17%, 32.9%)
CIE-LABlab(44.16, 53.82, -22.00)
CIE-LCHlch(44.16, 58.14, 337.77°)
OKLaboklab(54.1% 0.1595 -0.0593)
OKLCHoklch(54.1% 0.17 339.6)
XYZxyz(23.3463, 13.9505, 27.0491)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3D8E #3DAB5A
analogous
#913DAB #AB3D8E #AB3D57
triadic
#AB3D8E #8EAB3D #3D8EAB
tetradic
#AB3D8E #AB913D #3DAB5A #3D57AB
square
#AB3D8E #AB913D #3DAB5A #3D57AB
split-complementary
#AB3D8E #57AB3D #3DAB91
monochromatic
#511D43 #7E2D69 #AB3D8E #C65FAB #D68CC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3D8E#FFFFFF#000000##FFFFFF
##AB3D8E1.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)
#435D90
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#B54060
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3d8e;
/* rgb */ color: rgb(171, 61, 142);
/* oklch */ color: oklch(54.1% 0.170 339.6);
Tailwind
colors: {
  custom: {
    50: '#c77aaf',
    500: '#ab3d8e',
    950: '#000000',
  },
}
SCSS
$custom: #ab3d8e;
$custom-light: #c77aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3d8e",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 142
  },
  "hsl": {
    "h": 315.818,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.17017,
    "h": 339.6
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

primary
#AB3D8E
secondary
#83C193
accent
#D77451
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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