#A22D90#A22D90

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

Color values

HEX#A22D90
RGBrgb(162, 45, 144)
HSLhsl(309, 57%, 41%)
HSVhsv(309, 72%, 64%)
CMYKcmyk(0%, 72.2%, 11.1%, 36.5%)
CIE-LABlab(40.53, 58.00, -28.98)
CIE-LCHlch(40.53, 64.83, 333.45°)
OKLaboklab(51.2% 0.169 -0.0792)
OKLCHoklch(51.2% 0.187 334.9)
XYZxyz(20.8730, 11.5736, 27.5148)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D90 #2DA23F
analogous
#792DA2 #A22D90 #A22D55
triadic
#A22D90 #90A22D #2D90A2
tetradic
#A22D90 #A2792D #2DA23F #2D55A2
square
#A22D90 #A2792D #2DA23F #2D55A2
split-complementary
#A22D90 #55A22D #2DA279
monochromatic
#42123B #722065 #A22D90 #CA42B5 #D872C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22D90#FFFFFF#000000##FFFFFF
##A22D901.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)
#2C5493
Deuteranopia (green-blind)
#55668D
Tritanopia (blue-blind)
#AA365B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22d90;
/* rgb */ color: rgb(162, 45, 144);
/* oklch */ color: oklch(51.2% 0.187 334.9);
Tailwind
colors: {
  custom: {
    50: '#c171b1',
    500: '#a22d90',
    950: '#000000',
  },
}
SCSS
$custom: #a22d90;
$custom-light: #c171b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d90",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 309.231,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.18662,
    "h": 334.9
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#A22D90
secondary
#6CBF78
accent
#E05F48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22D90

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

Preview Lab → · Contrast checker → · Palette generator →

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