#AB3E95#AB3E95

#AB3E95 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.174 H 336.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AB3E95
RGBrgb(171, 62, 149)
HSLhsl(312, 47%, 46%)
HSVhsv(312, 64%, 67%)
CMYKcmyk(0%, 63.7%, 12.9%, 32.9%)
CIE-LABlab(44.62, 54.46, -25.50)
CIE-LCHlch(44.62, 60.14, 334.91°)
OKLaboklab(54.54% 0.1595 -0.0692)
OKLCHoklch(54.54% 0.174 336.5)
XYZxyz(23.9423, 14.2751, 29.9223)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E95 #3EAB54
analogous
#8A3EAB #AB3E95 #AB3E5E
triadic
#AB3E95 #95AB3E #3E95AB
tetradic
#AB3E95 #AB8A3E #3EAB54 #3E5EAB
square
#AB3E95 #AB8A3E #3EAB54 #3E5EAB
split-complementary
#AB3E95 #5EAB3E #3EAB8A
monochromatic
#511D47 #7E2E6E #AB3E95 #C661B1 #D68EC7

Accessibility & contrast

On white

5.45
#AB3E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AB3E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E95
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E95#FFFFFF#000000##FFFFFF
##AB3E951.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F98
Deuteranopia (green-blind)
#627092
Tritanopia (blue-blind)
#B44464
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3e95;
/* rgb */ color: rgb(171, 62, 149);
/* oklch */ color: oklch(54.5% 0.174 336.5);
Tailwind
colors: {
  custom: {
    50: '#c77bb4',
    500: '#ab3e95',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e95;
$custom-light: #c77bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e95",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 312.11,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.17383,
    "h": 336.5
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#AB3E95
secondary
#84C190
accent
#D66C51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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