#A22295#A22295

#A22295 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.202 H 332.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A22295
RGBrgb(162, 34, 149)
HSLhsl(306, 65%, 38%)
HSVhsv(306, 79%, 64%)
CMYKcmyk(0%, 79%, 8%, 36.5%)
CIE-LABlab(39.58, 62.23, -33.52)
CIE-LCHlch(39.58, 70.68, 331.69°)
OKLaboklab(50.59% 0.1795 -0.0922)
OKLCHoklch(50.59% 0.202 332.8)
XYZxyz(20.8973, 10.9972, 29.4500)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22295 #22A22F
analogous
#6F22A2 #A22295 #A22255
triadic
#A22295 #95A222 #2295A2
tetradic
#A22295 #A26F22 #22A22F #2255A2
square
#A22295 #A26F22 #22A22F #2255A2
split-complementary
#A22295 #55A222 #22A26F
monochromatic
#3D0D38 #6F1766 #A22295 #D32EC2 #DE61D1

Accessibility & contrast

On white

6.56
#A22295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A22295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22295
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22295#FFFFFF#000000##FFFFFF
##A222951.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5298
Deuteranopia (green-blind)
#4F6492
Tritanopia (blue-blind)
#A9315B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22295;
/* rgb */ color: rgb(162, 34, 149);
/* oklch */ color: oklch(50.6% 0.202 332.8);
Tailwind
colors: {
  custom: {
    50: '#c16db4',
    500: '#a22295',
    950: '#000000',
  },
}
SCSS
$custom: #a22295;
$custom-light: #c16db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a22295",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 306.094,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.20177,
    "h": 332.8
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#A22295
secondary
#5DC367
accent
#E85140
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22295

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

Preview Lab → · Contrast checker → · Palette generator →

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