#A22C82#A22C82

#A22C82 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.178 H 340.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A22C82
RGBrgb(162, 44, 130)
HSLhsl(316, 57%, 40%)
HSVhsv(316, 73%, 64%)
CMYKcmyk(0%, 72.8%, 19.8%, 36.5%)
CIE-LABlab(39.74, 56.29, -21.63)
CIE-LCHlch(39.74, 60.30, 338.98°)
OKLaboklab(50.41% 0.1683 -0.0582)
OKLCHoklch(50.41% 0.178 340.9)
XYZxyz(19.8308, 11.0964, 22.2122)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C82 #2CA24C
analogous
#872CA2 #A22C82 #A22C47
triadic
#A22C82 #82A22C #2C82A2
tetradic
#A22C82 #A2872C #2CA24C #2C47A2
square
#A22C82 #A2872C #2CA24C #2C47A2
split-complementary
#A22C82 #47A22C #2CA287
monochromatic
#421235 #721F5B #A22C82 #CB40A5 #D870BC

Accessibility & contrast

On white

6.52
#A22C82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22C82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C82
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C82#FFFFFF#000000##FFFFFF
##A22C821.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#5B647F
Tritanopia (blue-blind)
#AC2F53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22c82;
/* rgb */ color: rgb(162, 44, 130);
/* oklch */ color: oklch(50.4% 0.178 340.9);
Tailwind
colors: {
  custom: {
    50: '#c170a6',
    500: '#a22c82',
    950: '#000000',
  },
}
SCSS
$custom: #a22c82;
$custom-light: #c170a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c82",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 316.271,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.17804,
    "h": 340.9
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#A22C82
secondary
#6ABF81
accent
#E17147
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22C82

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

Preview Lab → · Contrast checker → · Palette generator →

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