#AB538D#AB538D

#AB538D is a mid, vivid pink. Relative luminance 0.168; OKLCH L 56.9% C 0.135 H 342.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB538D
RGBrgb(171, 83, 141)
HSLhsl(320, 35%, 50%)
HSVhsv(320, 51%, 67%)
CMYKcmyk(0%, 51.5%, 17.5%, 32.9%)
CIE-LABlab(47.97, 43.33, -15.56)
CIE-LCHlch(47.97, 46.04, 340.24°)
OKLaboklab(56.9% 0.1284 -0.0415)
OKLCHoklch(56.9% 0.135 342.1)
XYZxyz(24.6960, 16.7694, 27.1303)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB538D #53AB71
analogous
#9D53AB #AB538D #AB5361
triadic
#AB538D #8DAB53 #538DAB
tetradic
#AB538D #AB9D53 #53AB71 #5361AB
square
#AB538D #AB9D53 #53AB71 #5361AB
split-complementary
#AB538D #61AB53 #53AB9D
monochromatic
#592B49 #823F6B #AB538D #BF7CA8 #D3A5C4

Accessibility & contrast

On white

4.82
#AB538D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AB538D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB538D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB538D#FFFFFF#000000##FFFFFF
##AB538D1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#70778B
Tritanopia (blue-blind)
#B45469
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab538d;
/* rgb */ color: rgb(171, 83, 141);
/* oklch */ color: oklch(56.9% 0.135 342.1);
Tailwind
colors: {
  custom: {
    50: '#c687ae',
    500: '#ab538d',
    950: '#000000',
  },
}
SCSS
$custom: #ab538d;
$custom-light: #c687ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab538d",
  "rgb": {
    "r": 171,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 320.455,
    "s": 34.646,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.13492,
    "h": 342.1
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#AB538D
secondary
#99C1A7
accent
#CB825D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB538D

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

Preview Lab → · Contrast checker → · Palette generator →

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