#A22D99#A22D99

#A22D99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.193 H 331.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A22D99
RGBrgb(162, 45, 153)
HSLhsl(305, 57%, 41%)
HSVhsv(305, 72%, 64%)
CMYKcmyk(0%, 72.2%, 5.6%, 36.5%)
CIE-LABlab(40.99, 59.41, -33.71)
CIE-LCHlch(40.99, 68.31, 330.43°)
OKLaboklab(51.68% 0.1696 -0.0928)
OKLCHoklch(51.68% 0.193 331.3)
XYZxyz(21.5884, 11.8598, 31.2830)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D99 #2DA236
analogous
#702DA2 #A22D99 #A22D5F
triadic
#A22D99 #99A22D #2D99A2
tetradic
#A22D99 #A2702D #2DA236 #2D5FA2
square
#A22D99 #A2702D #2DA236 #2D5FA2
split-complementary
#A22D99 #5FA22D #2DA270
monochromatic
#42123F #72206C #A22D99 #CA42C0 #D872D0

Accessibility & contrast

On white

6.23
#A22D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A22D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D99
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D99#FFFFFF#000000##FFFFFF
##A22D991.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#A93B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22d99;
/* rgb */ color: rgb(162, 45, 153);
/* oklch */ color: oklch(51.7% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#c172b7',
    500: '#a22d99',
    950: '#000000',
  },
}
SCSS
$custom: #a22d99;
$custom-light: #c172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d99",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 304.615,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.19335,
    "h": 331.3
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#A22D99
secondary
#6CBF72
accent
#E05448
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22D99

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

Preview Lab → · Contrast checker → · Palette generator →

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