#AB6397#AB6397

#AB6397 is a mid, moderate pink. Relative luminance 0.198; OKLCH L 59.8% C 0.115 H 338.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AB6397
RGBrgb(171, 99, 151)
HSLhsl(317, 30%, 53%)
HSVhsv(317, 42%, 67%)
CMYKcmyk(0%, 42.1%, 11.7%, 32.9%)
CIE-LABlab(51.63, 36.53, -15.93)
CIE-LCHlch(51.63, 39.85, 336.44°)
OKLaboklab(59.76% 0.1063 -0.0426)
OKLCHoklch(59.76% 0.115 338.1)
XYZxyz(26.8424, 19.8176, 31.6835)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6397 #63AB77
analogous
#9B63AB #AB6397 #AB6373
triadic
#AB6397 #97AB63 #6397AB
tetradic
#AB6397 #AB9B63 #63AB77 #6373AB
square
#AB6397 #AB9B63 #63AB77 #6373AB
split-complementary
#AB6397 #73AB63 #63AB9B
monochromatic
#603454 #884976 #AB6397 #C08BB2 #D6B3CC

Accessibility & contrast

On white

4.23
#AB6397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#AB6397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6397
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6397#FFFFFF#000000##000000
##AB63971.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657499
Deuteranopia (green-blind)
#787F95
Tritanopia (blue-blind)
#B26576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab6397;
/* rgb */ color: rgb(171, 99, 151);
/* oklch */ color: oklch(59.8% 0.115 338.1);
Tailwind
colors: {
  custom: {
    50: '#c591b5',
    500: '#ab6397',
    950: '#000000',
  },
}
SCSS
$custom: #ab6397;
$custom-light: #c591b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6397",
  "rgb": {
    "r": 171,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 316.667,
    "s": 30,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.11455,
    "h": 338.1
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#AB6397
secondary
#A5C4AE
accent
#C67E62
background
#FCF9FB
surface
#F8F1F6
border
#D1CBD0
text
#130D11
muted
#827E80

Preview Lab

Preview with #AB6397

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

Preview Lab → · Contrast checker → · Palette generator →

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