#AB5397#AB5397

#AB5397 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.143 H 336.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AB5397
RGBrgb(171, 83, 151)
HSLhsl(314, 35%, 50%)
HSVhsv(314, 51%, 67%)
CMYKcmyk(0%, 51.5%, 11.7%, 32.9%)
CIE-LABlab(48.36, 44.95, -20.92)
CIE-LCHlch(48.36, 49.58, 335.04°)
OKLaboklab(57.32% 0.1309 -0.0565)
OKLCHoklch(57.32% 0.143 336.7)
XYZxyz(25.4739, 17.0806, 31.2273)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5397 #53AB67
analogous
#9353AB #AB5397 #AB536B
triadic
#AB5397 #97AB53 #5397AB
tetradic
#AB5397 #AB9353 #53AB67 #536BAB
square
#AB5397 #AB9353 #53AB67 #536BAB
split-complementary
#AB5397 #6BAB53 #53AB93
monochromatic
#592B4E #823F73 #AB5397 #BF7CB0 #D3A5C9

Accessibility & contrast

On white

4.76
#AB5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AB5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB5397
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5397#FFFFFF#000000##FFFFFF
##AB53971.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#6D7895
Tritanopia (blue-blind)
#B3576E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ab5397;
/* rgb */ color: rgb(171, 83, 151);
/* oklch */ color: oklch(57.3% 0.143 336.7);
Tailwind
colors: {
  custom: {
    50: '#c687b5',
    500: '#ab5397',
    950: '#000000',
  },
}
SCSS
$custom: #ab5397;
$custom-light: #c687b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5397",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 313.636,
    "s": 34.646,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.14254,
    "h": 336.7
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#AB5397
secondary
#99C1A2
accent
#CB765D
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AB5397

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

Preview Lab → · Contrast checker → · Palette generator →

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