#A22C99#A22C99

#A22C99 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.6% C 0.194 H 331.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A22C99
RGBrgb(162, 44, 153)
HSLhsl(305, 57%, 40%)
HSVhsv(305, 73%, 64%)
CMYKcmyk(0%, 72.8%, 5.6%, 36.5%)
CIE-LABlab(40.87, 59.76, -33.90)
CIE-LCHlch(40.87, 68.70, 330.43°)
OKLaboklab(51.59% 0.1706 -0.0933)
OKLCHoklch(51.59% 0.194 331.3)
XYZxyz(21.5507, 11.7844, 31.2704)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C99 #2CA235
analogous
#702CA2 #A22C99 #A22C5E
triadic
#A22C99 #99A22C #2C99A2
tetradic
#A22C99 #A2702C #2CA235 #2C5EA2
square
#A22C99 #A2702C #2CA235 #2C5EA2
split-complementary
#A22C99 #5EA22C #2CA270
monochromatic
#42123E #721F6C #A22C99 #CB40C1 #D870D0

Accessibility & contrast

On white

6.26
#A22C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A22C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C99
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C99#FFFFFF#000000##FFFFFF
##A22C991.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#A93A60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22c99;
/* rgb */ color: rgb(162, 44, 153);
/* oklch */ color: oklch(51.6% 0.194 331.3);
Tailwind
colors: {
  custom: {
    50: '#c171b7',
    500: '#a22c99',
    950: '#000000',
  },
}
SCSS
$custom: #a22c99;
$custom-light: #c171b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c99",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 304.576,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.19448,
    "h": 331.3
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#A22C99
secondary
#6ABF71
accent
#E15347
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22C99

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

Preview Lab → · Contrast checker → · Palette generator →

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