#A22C92#A22C92

#A22C92 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.189 H 334.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A22C92
RGBrgb(162, 44, 146)
HSLhsl(308, 57%, 40%)
HSVhsv(308, 73%, 64%)
CMYKcmyk(0%, 72.8%, 9.9%, 36.5%)
CIE-LABlab(40.51, 58.65, -30.23)
CIE-LCHlch(40.51, 65.98, 332.73°)
OKLaboklab(51.21% 0.1702 -0.0827)
OKLCHoklch(51.21% 0.189 334.1)
XYZxyz(20.9895, 11.5599, 28.3144)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C92 #2CA23C
analogous
#772CA2 #A22C92 #A22C57
triadic
#A22C92 #92A22C #2C92A2
tetradic
#A22C92 #A2772C #2CA23C #2C57A2
square
#A22C92 #A2772C #2CA23C #2C57A2
split-complementary
#A22C92 #57A22C #2CA277
monochromatic
#42123B #721F67 #A22C92 #CB40B8 #D870CA

Accessibility & contrast

On white

6.34
#A22C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A22C92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C92
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C92#FFFFFF#000000##FFFFFF
##A22C921.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#54668F
Tritanopia (blue-blind)
#AA365C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22c92;
/* rgb */ color: rgb(162, 44, 146);
/* oklch */ color: oklch(51.2% 0.189 334.1);
Tailwind
colors: {
  custom: {
    50: '#c171b2',
    500: '#a22c92',
    950: '#000000',
  },
}
SCSS
$custom: #a22c92;
$custom-light: #c171b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c92",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 308.136,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51212,
    "c": 0.18925,
    "h": 334.1
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#A22C92
secondary
#6ABF76
accent
#E15C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22C92

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

Preview Lab → · Contrast checker → · Palette generator →

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