#A22D86#A22D86

#A22D86 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 339.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A22D86
RGBrgb(162, 45, 134)
HSLhsl(314, 57%, 41%)
HSVhsv(314, 72%, 64%)
CMYKcmyk(0%, 72.2%, 17.3%, 36.5%)
CIE-LABlab(40.05, 56.50, -23.61)
CIE-LCHlch(40.05, 61.24, 337.32°)
OKLaboklab(50.69% 0.1678 -0.0638)
OKLCHoklch(50.69% 0.18 339.2)
XYZxyz(20.1422, 11.2813, 23.6663)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D86 #2DA249
analogous
#832DA2 #A22D86 #A22D4B
triadic
#A22D86 #86A22D #2D86A2
tetradic
#A22D86 #A2832D #2DA249 #2D4BA2
square
#A22D86 #A2832D #2DA249 #2D4BA2
split-complementary
#A22D86 #4BA22D #2DA283
monochromatic
#421237 #72205E #A22D86 #CA42AA #D872BF

Accessibility & contrast

On white

6.45
#A22D86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A22D86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D86
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D86#FFFFFF#000000##FFFFFF
##A22D861.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#596583
Tritanopia (blue-blind)
#AB3156
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22d86;
/* rgb */ color: rgb(162, 45, 134);
/* oklch */ color: oklch(50.7% 0.180 339.2);
Tailwind
colors: {
  custom: {
    50: '#c171a9',
    500: '#a22d86',
    950: '#000000',
  },
}
SCSS
$custom: #a22d86;
$custom-light: #c171a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d86",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 314.359,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.17954,
    "h": 339.2
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#A22D86
secondary
#6CBF80
accent
#E06C48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22D86

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

Preview Lab → · Contrast checker → · Palette generator →

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