#AB508F#AB508F

#AB508F is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.5% C 0.141 H 340.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB508F
RGBrgb(171, 80, 143)
HSLhsl(318, 36%, 49%)
HSVhsv(318, 53%, 67%)
CMYKcmyk(0%, 53.2%, 16.4%, 32.9%)
CIE-LABlab(47.47, 45.16, -17.52)
CIE-LCHlch(47.47, 48.44, 338.80°)
OKLaboklab(56.55% 0.1334 -0.0469)
OKLCHoklch(56.55% 0.141 340.6)
XYZxyz(24.6216, 16.3803, 27.8462)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB508F #50AB6C
analogous
#9A50AB #AB508F #AB5061
triadic
#AB508F #8FAB50 #508FAB
tetradic
#AB508F #AB9A50 #50AB6C #5061AB
square
#AB508F #AB9A50 #50AB6C #5061AB
split-complementary
#AB508F #61AB50 #50AB9A
monochromatic
#582949 #813C6C #AB508F #C078AA #D3A2C4

Accessibility & contrast

On white

4.91
#AB508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB508F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB508F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB508F#FFFFFF#000000##FFFFFF
##AB508F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556791
Deuteranopia (green-blind)
#6E768D
Tritanopia (blue-blind)
#B45169
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab508f;
/* rgb */ color: rgb(171, 80, 143);
/* oklch */ color: oklch(56.5% 0.141 340.6);
Tailwind
colors: {
  custom: {
    50: '#c685b0',
    500: '#ab508f',
    950: '#000000',
  },
}
SCSS
$custom: #ab508f;
$custom-light: #c685b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab508f",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 318.462,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.14141,
    "h": 340.6
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#AB508F
secondary
#96C1A3
accent
#CC7E5C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB508F

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

Preview Lab → · Contrast checker → · Palette generator →

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