#AB508C#AB508C

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

Color values

HEX#AB508C
RGBrgb(171, 80, 140)
HSLhsl(320, 36%, 49%)
HSVhsv(320, 53%, 67%)
CMYKcmyk(0%, 53.2%, 18.1%, 32.9%)
CIE-LABlab(47.35, 44.69, -15.90)
CIE-LCHlch(47.35, 47.43, 340.42°)
OKLaboklab(56.43% 0.1326 -0.0424)
OKLCHoklch(56.43% 0.139 342.3)
XYZxyz(24.3973, 16.2906, 26.6653)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB508C #50AB6F
analogous
#9D50AB #AB508C #AB505E
triadic
#AB508C #8CAB50 #508CAB
tetradic
#AB508C #AB9D50 #50AB6F #505EAB
square
#AB508C #AB9D50 #50AB6F #505EAB
split-complementary
#AB508C #5EAB50 #50AB9D
monochromatic
#582948 #813C6A #AB508C #C078A8 #D3A2C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB508C#FFFFFF#000000##FFFFFF
##AB508C1.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)
#56678E
Deuteranopia (green-blind)
#6F768A
Tritanopia (blue-blind)
#B45168
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab508c;
/* rgb */ color: rgb(171, 80, 140);
/* oklch */ color: oklch(56.4% 0.139 342.3);
Tailwind
colors: {
  custom: {
    50: '#c685ad',
    500: '#ab508c',
    950: '#000000',
  },
}
SCSS
$custom: #ab508c;
$custom-light: #c685ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab508c",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 320.44,
    "s": 36.255,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.13925,
    "h": 342.3
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#AB508C
secondary
#96C1A5
accent
#CC825C
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AB508C

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

Preview Lab → · Contrast checker → · Palette generator →

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