#A22D82#A22D82

#A22D82 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.177 H 341.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A22D82
RGBrgb(162, 45, 130)
HSLhsl(316, 57%, 41%)
HSVhsv(316, 72%, 64%)
CMYKcmyk(0%, 72.2%, 19.8%, 36.5%)
CIE-LABlab(39.87, 55.93, -21.43)
CIE-LCHlch(39.87, 59.90, 339.03°)
OKLaboklab(50.5% 0.1672 -0.0577)
OKLCHoklch(50.5% 0.177 341)
XYZxyz(19.8685, 11.1718, 22.2248)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D82 #2DA24D
analogous
#872DA2 #A22D82 #A22D47
triadic
#A22D82 #82A22D #2D82A2
tetradic
#A22D82 #A2872D #2DA24D #2D47A2
square
#A22D82 #A2872D #2DA24D #2D47A2
split-complementary
#A22D82 #47A22D #2DA287
monochromatic
#421235 #72205C #A22D82 #CA42A5 #D872BC

Accessibility & contrast

On white

6.49
#A22D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D82
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D82#FFFFFF#000000##FFFFFF
##A22D821.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#AC3054
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22d82;
/* rgb */ color: rgb(162, 45, 130);
/* oklch */ color: oklch(50.5% 0.177 341.0);
Tailwind
colors: {
  custom: {
    50: '#c171a6',
    500: '#a22d82',
    950: '#000000',
  },
}
SCSS
$custom: #a22d82;
$custom-light: #c171a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d82",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 316.41,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.505,
    "c": 0.17684,
    "h": 341
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#A22D82
secondary
#6CBF82
accent
#E07248
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22D82

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

Preview Lab → · Contrast checker → · Palette generator →

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