#AB3E97#AB3E97

#AB3E97 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.175 H 335.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AB3E97
RGBrgb(171, 62, 151)
HSLhsl(311, 47%, 46%)
HSVhsv(311, 64%, 67%)
CMYKcmyk(0%, 63.7%, 11.7%, 32.9%)
CIE-LABlab(44.72, 54.78, -26.56)
CIE-LCHlch(44.72, 60.88, 334.13°)
OKLaboklab(54.63% 0.1598 -0.0722)
OKLCHoklch(54.63% 0.175 335.7)
XYZxyz(24.1034, 14.3395, 30.7705)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3E97 #3EAB52
analogous
#883EAB #AB3E97 #AB3E60
triadic
#AB3E97 #97AB3E #3E97AB
tetradic
#AB3E97 #AB883E #3EAB52 #3E60AB
square
#AB3E97 #AB883E #3EAB52 #3E60AB
split-complementary
#AB3E97 #60AB3E #3EAB88
monochromatic
#511D48 #7E2E6F #AB3E97 #C661B3 #D68EC9

Accessibility & contrast

On white

5.43
#AB3E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AB3E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3E97
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3E97#FFFFFF#000000##FFFFFF
##AB3E971.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F9A
Deuteranopia (green-blind)
#617094
Tritanopia (blue-blind)
#B34465
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab3e97;
/* rgb */ color: rgb(171, 62, 151);
/* oklch */ color: oklch(54.6% 0.175 335.7);
Tailwind
colors: {
  custom: {
    50: '#c77bb6',
    500: '#ab3e97',
    950: '#000000',
  },
}
SCSS
$custom: #ab3e97;
$custom-light: #c77bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3e97",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 311.009,
    "s": 46.781,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.17533,
    "h": 335.7
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#AB3E97
secondary
#84C18F
accent
#D66A51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AB3E97

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

Preview Lab → · Contrast checker → · Palette generator →

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