#AB3897#AB3897

#AB3897 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.184 H 335.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB3897
RGBrgb(171, 56, 151)
HSLhsl(310, 51%, 45%)
HSVhsv(310, 67%, 67%)
CMYKcmyk(0%, 67.3%, 11.7%, 32.9%)
CIE-LABlab(43.83, 57.23, -27.94)
CIE-LCHlch(43.83, 63.68, 333.98°)
OKLaboklab(53.99% 0.167 -0.0761)
OKLCHoklch(53.99% 0.184 335.5)
XYZxyz(23.7949, 13.7226, 30.6677)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3897 #38AB4C
analogous
#8638AB #AB3897 #AB385D
triadic
#AB3897 #97AB38 #3897AB
tetradic
#AB3897 #AB8638 #38AB4C #385DAB
square
#AB3897 #AB8638 #38AB4C #385DAB
split-complementary
#AB3897 #5DAB38 #38AB86
monochromatic
#4F1A46 #7D296E #AB3897 #C858B5 #D786C9

Accessibility & contrast

On white

5.61
#AB3897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3897
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3897#FFFFFF#000000##FFFFFF
##AB38971.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9A
Deuteranopia (green-blind)
#5E6E94
Tritanopia (blue-blind)
#B34062
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3897;
/* rgb */ color: rgb(171, 56, 151);
/* oklch */ color: oklch(54.0% 0.184 335.5);
Tailwind
colors: {
  custom: {
    50: '#c778b6',
    500: '#ab3897',
    950: '#000000',
  },
}
SCSS
$custom: #ab3897;
$custom-light: #c778b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3897",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 310.435,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.18353,
    "h": 335.5
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#AB3897
secondary
#7DC189
accent
#DA664E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3897

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

Preview Lab → · Contrast checker → · Palette generator →

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