#AB508D#AB508D

#AB508D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.5% C 0.140 H 341.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AB508D
RGBrgb(171, 80, 141)
HSLhsl(320, 36%, 49%)
HSVhsv(320, 53%, 67%)
CMYKcmyk(0%, 53.2%, 17.5%, 32.9%)
CIE-LABlab(47.39, 44.84, -16.44)
CIE-LCHlch(47.39, 47.76, 339.87°)
OKLaboklab(56.47% 0.1329 -0.0439)
OKLCHoklch(56.47% 0.14 341.7)
XYZxyz(24.4714, 16.3203, 27.0554)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB508D #50AB6E
analogous
#9C50AB #AB508D #AB5060
triadic
#AB508D #8DAB50 #508DAB
tetradic
#AB508D #AB9C50 #50AB6E #5060AB
square
#AB508D #AB9C50 #50AB6E #5060AB
split-complementary
#AB508D #60AB50 #50AB9C
monochromatic
#582948 #813C6B #AB508D #C078A8 #D3A2C3

Accessibility & contrast

On white

4.93
#AB508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB508D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB508D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB508D#FFFFFF#000000##FFFFFF
##AB508D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#B45168
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab508d;
/* rgb */ color: rgb(171, 80, 141);
/* oklch */ color: oklch(56.5% 0.140 341.7);
Tailwind
colors: {
  custom: {
    50: '#c685ae',
    500: '#ab508d',
    950: '#000000',
  },
}
SCSS
$custom: #ab508d;
$custom-light: #c685ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab508d",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 319.78,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.13996,
    "h": 341.7
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#AB508D
secondary
#96C1A4
accent
#CC815C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB508D

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

Preview Lab → · Contrast checker → · Palette generator →

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