#A22A82#A22A82

#A22A82 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 340.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A22A82
RGBrgb(162, 42, 130)
HSLhsl(316, 59%, 40%)
HSVhsv(316, 74%, 64%)
CMYKcmyk(0%, 74.1%, 19.8%, 36.5%)
CIE-LABlab(39.50, 56.98, -22.01)
CIE-LCHlch(39.50, 61.08, 338.88°)
OKLaboklab(50.23% 0.1704 -0.0593)
OKLCHoklch(50.23% 0.18 340.8)
XYZxyz(19.7581, 10.9510, 22.1880)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A82 #2AA24A
analogous
#862AA2 #A22A82 #A22A46
triadic
#A22A82 #82A22A #2A82A2
tetradic
#A22A82 #A2862A #2AA24A #2A46A2
square
#A22A82 #A2862A #2AA24A #2A46A2
split-complementary
#A22A82 #46A22A #2AA286
monochromatic
#411134 #711D5B #A22A82 #CD3DA6 #D96DBC

Accessibility & contrast

On white

6.58
#A22A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A82
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A82#FFFFFF#000000##FFFFFF
##A22A821.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#AC2D53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22a82;
/* rgb */ color: rgb(162, 42, 130);
/* oklch */ color: oklch(50.2% 0.180 340.8);
Tailwind
colors: {
  custom: {
    50: '#c16fa6',
    500: '#a22a82',
    950: '#000000',
  },
}
SCSS
$custom: #a22a82;
$custom-light: #c16fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a82",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 316,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50231,
    "c": 0.18037,
    "h": 340.8
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#A22A82
secondary
#68C07F
accent
#E26F46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22A82

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

Preview Lab → · Contrast checker → · Palette generator →

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