#A22A91#A22A91

#A22A91 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 334.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A22A91
RGBrgb(162, 42, 145)
HSLhsl(309, 59%, 40%)
HSVhsv(309, 74%, 64%)
CMYKcmyk(0%, 74.1%, 10.5%, 36.5%)
CIE-LABlab(40.22, 59.17, -30.08)
CIE-LCHlch(40.22, 66.38, 333.06°)
OKLaboklab(50.99% 0.1721 -0.0823)
OKLCHoklch(50.99% 0.191 334.4)
XYZxyz(20.8393, 11.3835, 27.8823)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A91 #2AA23B
analogous
#772AA2 #A22A91 #A22A55
triadic
#A22A91 #91A22A #2A91A2
tetradic
#A22A91 #A2772A #2AA23B #2A55A2
square
#A22A91 #A2772A #2AA23B #2A55A2
split-complementary
#A22A91 #55A22A #2AA277
monochromatic
#41113A #711D66 #A22A91 #CD3DB8 #D96DCA

Accessibility & contrast

On white

6.41
#A22A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A91
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A91#FFFFFF#000000##FFFFFF
##A22A911.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#54658E
Tritanopia (blue-blind)
#AA355B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22a91;
/* rgb */ color: rgb(162, 42, 145);
/* oklch */ color: oklch(51.0% 0.191 334.4);
Tailwind
colors: {
  custom: {
    50: '#c170b1',
    500: '#a22a91',
    950: '#000000',
  },
}
SCSS
$custom: #a22a91;
$custom-light: #c170b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a91",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 308.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50987,
    "c": 0.19077,
    "h": 334.4
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#A22A91
secondary
#68C074
accent
#E25C46
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A91

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

Preview Lab → · Contrast checker → · Palette generator →

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