#A22C79#A22C79

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

Color values

HEX#A22C79
RGBrgb(162, 44, 121)
HSLhsl(321, 57%, 40%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 72.8%, 25.3%, 36.5%)
CIE-LABlab(39.35, 55.06, -16.66)
CIE-LCHlch(39.35, 57.52, 343.17°)
OKLaboklab(50% 0.1666 -0.0443)
OKLCHoklch(50% 0.172 345.1)
XYZxyz(19.2529, 10.8653, 19.1687)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C79 #2CA255
analogous
#902CA2 #A22C79 #A22C3E
triadic
#A22C79 #79A22C #2C79A2
tetradic
#A22C79 #A2902C #2CA255 #2C3EA2
square
#A22C79 #A2902C #2CA255 #2C3EA2
split-complementary
#A22C79 #3EA22C #2CA290
monochromatic
#421231 #721F55 #A22C79 #CB409B #D870B4

Accessibility & contrast

On white

6.62
#A22C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A22C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C79
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C79#FFFFFF#000000##FFFFFF
##A22C791.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5E6476
Tritanopia (blue-blind)
#AD2A4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c79;
/* rgb */ color: rgb(162, 44, 121);
/* oklch */ color: oklch(50.0% 0.172 345.1);
Tailwind
colors: {
  custom: {
    50: '#c1709f',
    500: '#a22c79',
    950: '#000000',
  },
}
SCSS
$custom: #a22c79;
$custom-light: #c1709f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c79",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 320.847,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49998,
    "c": 0.17235,
    "h": 345.1
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#A22C79
secondary
#6ABF88
accent
#E17D47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22C79

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

Preview Lab → · Contrast checker → · Palette generator →

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