#A22C7A#A22C7A

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

Color values

HEX#A22C7A
RGBrgb(162, 44, 122)
HSLhsl(320, 57%, 40%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 72.8%, 24.7%, 36.5%)
CIE-LABlab(39.39, 55.19, -17.21)
CIE-LCHlch(39.39, 57.81, 342.68°)
OKLaboklab(50.04% 0.1668 -0.0458)
OKLCHoklch(50.04% 0.173 344.6)
XYZxyz(19.3146, 10.8899, 19.4934)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C7A #2CA254
analogous
#8F2CA2 #A22C7A #A22C3F
triadic
#A22C7A #7AA22C #2C7AA2
tetradic
#A22C7A #A28F2C #2CA254 #2C3FA2
square
#A22C7A #A28F2C #2CA254 #2C3FA2
split-complementary
#A22C7A #3FA22C #2CA28F
monochromatic
#421232 #721F56 #A22C7A #CB409C #D870B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22C7A#FFFFFF#000000##FFFFFF
##A22C7A1.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)
#3A507C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#AD2B4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c7a;
/* rgb */ color: rgb(162, 44, 122);
/* oklch */ color: oklch(50.0% 0.173 344.6);
Tailwind
colors: {
  custom: {
    50: '#c170a0',
    500: '#a22c7a',
    950: '#000000',
  },
}
SCSS
$custom: #a22c7a;
$custom-light: #c170a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c7a",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 320.339,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.17296,
    "h": 344.6
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#A22C7A
secondary
#6ABF87
accent
#E17B47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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