#A22C84#A22C84

#A22C84 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.179 H 340.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A22C84
RGBrgb(162, 44, 132)
HSLhsl(315, 57%, 40%)
HSVhsv(315, 73%, 64%)
CMYKcmyk(0%, 72.8%, 18.5%, 36.5%)
CIE-LABlab(39.83, 56.57, -22.72)
CIE-LCHlch(39.83, 60.96, 338.12°)
OKLaboklab(50.5% 0.1686 -0.0613)
OKLCHoklch(50.5% 0.179 340)
XYZxyz(19.9664, 11.1506, 22.9261)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C84 #2CA24A
analogous
#852CA2 #A22C84 #A22C49
triadic
#A22C84 #84A22C #2C84A2
tetradic
#A22C84 #A2852C #2CA24A #2C49A2
square
#A22C84 #A2852C #2CA24A #2C49A2
split-complementary
#A22C84 #49A22C #2CA285
monochromatic
#421236 #721F5D #A22C84 #CB40A8 #D870BE

Accessibility & contrast

On white

6.50
#A22C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C84
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C84#FFFFFF#000000##FFFFFF
##A22C841.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#AC3054
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22c84;
/* rgb */ color: rgb(162, 44, 132);
/* oklch */ color: oklch(50.5% 0.179 340.0);
Tailwind
colors: {
  custom: {
    50: '#c170a8',
    500: '#a22c84',
    950: '#000000',
  },
}
SCSS
$custom: #a22c84;
$custom-light: #c170a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c84",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 315.254,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.17937,
    "h": 340
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#A22C84
secondary
#6ABF80
accent
#E16E47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22C84

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

Preview Lab → · Contrast checker → · Palette generator →

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