#A22582#A22582

#A22582 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.8% C 0.186 H 340.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A22582
RGBrgb(162, 37, 130)
HSLhsl(315, 63%, 39%)
HSVhsv(315, 77%, 64%)
CMYKcmyk(0%, 77.2%, 19.8%, 36.5%)
CIE-LABlab(38.93, 58.59, -22.89)
CIE-LCHlch(38.93, 62.90, 338.66°)
OKLaboklab(49.82% 0.1753 -0.0617)
OKLCHoklch(49.82% 0.186 340.6)
XYZxyz(19.5917, 10.6182, 22.1325)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22582 #25A245
analogous
#8425A2 #A22582 #A22544
triadic
#A22582 #82A225 #2582A2
tetradic
#A22582 #A28425 #25A245 #2544A2
square
#A22582 #A28425 #25A245 #2544A2
split-complementary
#A22582 #44A225 #25A284
monochromatic
#3E0E32 #701A5A #A22582 #D134A8 #DC65BE

Accessibility & contrast

On white

6.72
#A22582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A22582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22582
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22582#FFFFFF#000000##FFFFFF
##A225821.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#AC2951
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22582;
/* rgb */ color: rgb(162, 37, 130);
/* oklch */ color: oklch(49.8% 0.186 340.6);
Tailwind
colors: {
  custom: {
    50: '#c16da6',
    500: '#a22582',
    950: '#000000',
  },
}
SCSS
$custom: #a22582;
$custom-light: #c16da6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22582",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 315.36,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4982,
    "c": 0.18582,
    "h": 340.6
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#A22582
secondary
#61C27A
accent
#E66C42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22582

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

Preview Lab → · Contrast checker → · Palette generator →

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