#A0508A#A0508A

#A0508A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 54.8% C 0.128 H 338.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A0508A
RGBrgb(160, 80, 138)
HSLhsl(317, 33%, 47%)
HSVhsv(317, 50%, 63%)
CMYKcmyk(0%, 50%, 13.8%, 37.3%)
CIE-LABlab(45.70, 40.83, -17.36)
CIE-LCHlch(45.70, 44.37, 336.96°)
OKLaboklab(54.84% 0.1196 -0.0466)
OKLCHoklch(54.84% 0.128 338.7)
XYZxyz(21.9535, 15.0474, 25.7880)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0508A #50A066
analogous
#8E50A0 #A0508A #A05062
triadic
#A0508A #8AA050 #508AA0
tetradic
#A0508A #A08E50 #50A066 #5062A0
square
#A0508A #A08E50 #50A066 #5062A0
split-complementary
#A0508A #62A050 #50A08E
monochromatic
#4E2744 #773C67 #A0508A #B974A6 #CE9DC0

Accessibility & contrast

On white

5.24
#A0508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A0508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0508A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0508A#FFFFFF#000000##FFFFFF
##A0508A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53648C
Deuteranopia (green-blind)
#697188
Tritanopia (blue-blind)
#A85267
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a0508a;
/* rgb */ color: rgb(160, 80, 138);
/* oklch */ color: oklch(54.8% 0.128 338.7);
Tailwind
colors: {
  custom: {
    50: '#be84ac',
    500: '#a0508a',
    950: '#000000',
  },
}
SCSS
$custom: #a0508a;
$custom-light: #be84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a0508a",
  "rgb": {
    "r": 160,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 316.5,
    "s": 33.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54842,
    "c": 0.1284,
    "h": 338.7
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

primary
#A0508A
secondary
#91BB9D
accent
#C97C5E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #A0508A

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

Preview Lab → · Contrast checker → · Palette generator →

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