#AB3E81#AB3E81

#AB3E81 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.6% C 0.160 H 346.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AB3E81
RGBrgb(171, 62, 129)
HSLhsl(323, 47%, 46%)
HSVhsv(323, 64%, 67%)
CMYKcmyk(0%, 63.7%, 24.6%, 32.9%)
CIE-LABlab(43.79, 51.52, -14.68)
CIE-LCHlch(43.79, 53.57, 344.10°)
OKLaboklab(53.64% 0.1554 -0.0388)
OKLCHoklch(53.64% 0.16 346)
XYZxyz(22.4805, 13.6903, 22.2232)
Luminance0.1369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E81 #3EAB68
analogous
#9E3EAB #AB3E81 #AB3E4B
triadic
#AB3E81 #81AB3E #3E81AB
tetradic
#AB3E81 #AB9E3E #3EAB68 #3E4BAB
square
#AB3E81 #AB9E3E #3EAB68 #3E4BAB
split-complementary
#AB3E81 #4BAB3E #3EAB9E
monochromatic
#511D3D #7E2E5F #AB3E81 #C6619F #D68EBA

Accessibility & contrast

On white

5.62
#AB3E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AB3E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E81
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E81#FFFFFF#000000##FFFFFF
##AB3E811.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5C83
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#B63C5A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3e81;
/* rgb */ color: rgb(171, 62, 129);
/* oklch */ color: oklch(53.6% 0.160 346.0);
Tailwind
colors: {
  custom: {
    50: '#c77aa5',
    500: '#ab3e81',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e81;
$custom-light: #c77aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e81",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 323.119,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53644,
    "c": 0.16015,
    "h": 346
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#AB3E81
secondary
#84C19B
accent
#D68551
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #AB3E81

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

Preview Lab → · Contrast checker → · Palette generator →

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