#AB5E97#AB5E97

#AB5E97 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.0% C 0.123 H 337.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AB5E97
RGBrgb(171, 94, 151)
HSLhsl(316, 31%, 52%)
HSVhsv(316, 45%, 67%)
CMYKcmyk(0%, 45%, 11.7%, 32.9%)
CIE-LABlab(50.57, 39.23, -17.54)
CIE-LCHlch(50.57, 42.97, 335.90°)
OKLaboklab(58.97% 0.1142 -0.0471)
OKLCHoklch(58.97% 0.123 337.6)
XYZxyz(26.3833, 18.8994, 31.5305)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5E97 #5EAB72
analogous
#995EAB #AB5E97 #AB5E71
triadic
#AB5E97 #97AB5E #5E97AB
tetradic
#AB5E97 #AB995E #5EAB72 #5E71AB
square
#AB5E97 #AB995E #5EAB72 #5E71AB
split-complementary
#AB5E97 #71AB5E #5EAB99
monochromatic
#5E3152 #864675 #AB5E97 #C086B1 #D5AECB

Accessibility & contrast

On white

4.39
#AB5E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#AB5E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5E97
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5E97#FFFFFF#000000##000000
##AB5E971.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#747D95
Tritanopia (blue-blind)
#B26074
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ab5e97;
/* rgb */ color: rgb(171, 94, 151);
/* oklch */ color: oklch(59.0% 0.123 337.6);
Tailwind
colors: {
  custom: {
    50: '#c68eb5',
    500: '#ab5e97',
    950: '#000000',
  },
}
SCSS
$custom: #ab5e97;
$custom-light: #c68eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5e97",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 315.584,
    "s": 31.429,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.12349,
    "h": 337.6
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#AB5E97
secondary
#A2C3AA
accent
#C87B60
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AB5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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