#A22982#A22982

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

Color values

HEX#A22982
RGBrgb(162, 41, 130)
HSLhsl(316, 60%, 40%)
HSVhsv(316, 75%, 64%)
CMYKcmyk(0%, 74.7%, 19.8%, 36.5%)
CIE-LABlab(39.38, 57.31, -22.19)
CIE-LCHlch(39.38, 61.46, 338.83°)
OKLaboklab(50.15% 0.1714 -0.0598)
OKLCHoklch(50.15% 0.182 340.8)
XYZxyz(19.7231, 10.8809, 22.1763)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22982 #29A249
analogous
#8629A2 #A22982 #A22945
triadic
#A22982 #82A229 #2982A2
tetradic
#A22982 #A28629 #29A249 #2945A2
square
#A22982 #A28629 #29A249 #2945A2
split-complementary
#A22982 #45A229 #29A286
monochromatic
#401034 #711D5B #A22982 #CD3BA7 #DA6CBD

Accessibility & contrast

On white

6.61
#A22982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22982
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22982#FFFFFF#000000##FFFFFF
##A229821.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335084
Deuteranopia (green-blind)
#59647F
Tritanopia (blue-blind)
#AC2C52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22982;
/* rgb */ color: rgb(162, 41, 130);
/* oklch */ color: oklch(50.1% 0.181 340.8);
Tailwind
colors: {
  custom: {
    50: '#c16fa6',
    500: '#a22982',
    950: '#000000',
  },
}
SCSS
$custom: #a22982;
$custom-light: #c16fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22982",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 315.868,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.1815,
    "h": 340.8
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#A22982
secondary
#67C07E
accent
#E36F45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22982

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

Preview Lab → · Contrast checker → · Palette generator →

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