#A22292#A22292

#A22292 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.200 H 334.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A22292
RGBrgb(162, 34, 146)
HSLhsl(308, 65%, 38%)
HSVhsv(308, 79%, 64%)
CMYKcmyk(0%, 79%, 9.9%, 36.5%)
CIE-LABlab(39.42, 61.77, -31.95)
CIE-LCHlch(39.42, 69.55, 332.65°)
OKLaboklab(50.43% 0.1794 -0.0876)
OKLCHoklch(50.43% 0.2 334)
XYZxyz(20.6608, 10.9026, 28.2048)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22292 #22A232
analogous
#7222A2 #A22292 #A22252
triadic
#A22292 #92A222 #2292A2
tetradic
#A22292 #A27222 #22A232 #2252A2
square
#A22292 #A27222 #22A232 #2252A2
split-complementary
#A22292 #52A222 #22A272
monochromatic
#3D0D37 #6F1764 #A22292 #D32EBF #DE61CE

Accessibility & contrast

On white

6.60
#A22292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22292
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22292#FFFFFF#000000##FFFFFF
##A222921.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#AA2F59
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22292;
/* rgb */ color: rgb(162, 34, 146);
/* oklch */ color: oklch(50.4% 0.200 334.0);
Tailwind
colors: {
  custom: {
    50: '#c16db2',
    500: '#a22292',
    950: '#000000',
  },
}
SCSS
$custom: #a22292;
$custom-light: #c16db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22292",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 307.5,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50427,
    "c": 0.19964,
    "h": 334
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#A22292
secondary
#5DC36A
accent
#E85540
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22292

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

Preview Lab → · Contrast checker → · Palette generator →

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