#A2508A#A2508A

#A2508A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.1% C 0.130 H 339.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A2508A
RGBrgb(162, 80, 138)
HSLhsl(318, 34%, 47%)
HSVhsv(318, 51%, 64%)
CMYKcmyk(0%, 50.6%, 14.8%, 36.5%)
CIE-LABlab(45.98, 41.48, -16.91)
CIE-LCHlch(45.98, 44.79, 337.83°)
OKLaboklab(55.11% 0.1219 -0.0453)
OKLCHoklch(55.11% 0.13 339.6)
XYZxyz(22.3567, 15.2553, 25.8069)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2508A #50A268
analogous
#9150A2 #A2508A #A25061
triadic
#A2508A #8AA250 #508AA2
tetradic
#A2508A #A29150 #50A268 #5061A2
square
#A2508A #A29150 #50A268 #5061A2
split-complementary
#A2508A #61A250 #50A291
monochromatic
#502844 #793C67 #A2508A #BB75A6 #CF9EC0

Accessibility & contrast

On white

5.18
#A2508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A2508A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2508A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2508A#FFFFFF#000000##FFFFFF
##A2508A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658C
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#AA5267
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a2508a;
/* rgb */ color: rgb(162, 80, 138);
/* oklch */ color: oklch(55.1% 0.130 339.6);
Tailwind
colors: {
  custom: {
    50: '#bf84ac',
    500: '#a2508a',
    950: '#000000',
  },
}
SCSS
$custom: #a2508a;
$custom-light: #bf84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2508a",
  "rgb": {
    "r": 162,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 317.561,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55112,
    "c": 0.13008,
    "h": 339.6
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#A2508A
secondary
#92BC9E
accent
#CA7D5E
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #A2508A

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

Preview Lab → · Contrast checker → · Palette generator →

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