#A22182#A22182

#A22182 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.190 H 340.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A22182
RGBrgb(162, 33, 130)
HSLhsl(315, 66%, 38%)
HSVhsv(315, 80%, 64%)
CMYKcmyk(0%, 79.6%, 19.8%, 36.5%)
CIE-LABlab(38.52, 59.76, -23.52)
CIE-LCHlch(38.52, 64.22, 338.51°)
OKLaboklab(49.53% 0.1788 -0.0635)
OKLCHoklch(49.53% 0.19 340.4)
XYZxyz(19.4740, 10.3828, 22.0933)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22182 #21A241
analogous
#8121A2 #A22182 #A22141
triadic
#A22182 #82A221 #2182A2
tetradic
#A22182 #A28121 #21A241 #2141A2
square
#A22182 #A28121 #21A241 #2141A2
split-complementary
#A22182 #41A221 #21A281
monochromatic
#3C0C30 #6F1759 #A22182 #D42CAA #DE5FBF

Accessibility & contrast

On white

6.83
#A22182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A22182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22182
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22182#FFFFFF#000000##FFFFFF
##A221821.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E85
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#AC2550
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22182;
/* rgb */ color: rgb(162, 33, 130);
/* oklch */ color: oklch(49.5% 0.190 340.4);
Tailwind
colors: {
  custom: {
    50: '#c26ca6',
    500: '#a22182',
    950: '#000000',
  },
}
SCSS
$custom: #a22182;
$custom-light: #c26ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22182",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 314.884,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.18976,
    "h": 340.4
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#A22182
secondary
#5CC375
accent
#E9693F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A22182

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

Preview Lab → · Contrast checker → · Palette generator →

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