#A22D8A#A22D8A

#A22D8A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.182 H 337.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A22D8A
RGBrgb(162, 45, 138)
HSLhsl(312, 57%, 41%)
HSVhsv(312, 72%, 64%)
CMYKcmyk(0%, 72.2%, 14.8%, 36.5%)
CIE-LABlab(40.24, 57.09, -25.77)
CIE-LCHlch(40.24, 62.64, 335.70°)
OKLaboklab(50.89% 0.1683 -0.07)
OKLCHoklch(50.89% 0.182 337.4)
XYZxyz(20.4265, 11.3950, 25.1635)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D8A #2DA245
analogous
#7F2DA2 #A22D8A #A22D4F
triadic
#A22D8A #8AA22D #2D8AA2
tetradic
#A22D8A #A27F2D #2DA245 #2D4FA2
square
#A22D8A #A27F2D #2DA245 #2D4FA2
split-complementary
#A22D8A #4FA22D #2DA27F
monochromatic
#421238 #722061 #A22D8A #CA42AE #D872C3

Accessibility & contrast

On white

6.41
#A22D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D8A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D8A#FFFFFF#000000##FFFFFF
##A22D8A1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#AB3358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22d8a;
/* rgb */ color: rgb(162, 45, 138);
/* oklch */ color: oklch(50.9% 0.182 337.4);
Tailwind
colors: {
  custom: {
    50: '#c171ac',
    500: '#a22d8a',
    950: '#000000',
  },
}
SCSS
$custom: #a22d8a;
$custom-light: #c171ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d8a",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 312.308,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50889,
    "c": 0.18231,
    "h": 337.4
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#A22D8A
secondary
#6CBF7D
accent
#E06748
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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