#A22C81#A22C81

#A22C81 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.177 H 341.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A22C81
RGBrgb(162, 44, 129)
HSLhsl(317, 57%, 40%)
HSVhsv(317, 73%, 64%)
CMYKcmyk(0%, 72.8%, 20.4%, 36.5%)
CIE-LABlab(39.70, 56.14, -21.08)
CIE-LCHlch(39.70, 59.97, 339.42°)
OKLaboklab(50.36% 0.1681 -0.0567)
OKLCHoklch(50.36% 0.177 341.4)
XYZxyz(19.7640, 11.0697, 21.8604)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C81 #2CA24D
analogous
#882CA2 #A22C81 #A22C46
triadic
#A22C81 #81A22C #2C81A2
tetradic
#A22C81 #A2882C #2CA24D #2C46A2
square
#A22C81 #A2882C #2CA24D #2C46A2
split-complementary
#A22C81 #46A22C #2CA288
monochromatic
#421234 #721F5B #A22C81 #CB40A4 #D870BB

Accessibility & contrast

On white

6.53
#A22C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A22C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C81
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C81#FFFFFF#000000##FFFFFF
##A22C811.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365183
Deuteranopia (green-blind)
#5B647E
Tritanopia (blue-blind)
#AC2E53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c81;
/* rgb */ color: rgb(162, 44, 129);
/* oklch */ color: oklch(50.4% 0.177 341.4);
Tailwind
colors: {
  custom: {
    50: '#c170a5',
    500: '#a22c81',
    950: '#000000',
  },
}
SCSS
$custom: #a22c81;
$custom-light: #c170a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c81",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 316.78,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.17738,
    "h": 341.4
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#A22C81
secondary
#6ABF82
accent
#E17247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22C81

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

Preview Lab → · Contrast checker → · Palette generator →

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