#A22B99#A22B99

#A22B99 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.196 H 331.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A22B99
RGBrgb(162, 43, 153)
HSLhsl(305, 58%, 40%)
HSVhsv(305, 73%, 64%)
CMYKcmyk(0%, 73.5%, 5.6%, 36.5%)
CIE-LABlab(40.75, 60.09, -34.09)
CIE-LCHlch(40.75, 69.09, 330.44°)
OKLaboklab(51.51% 0.1716 -0.0939)
OKLCHoklch(51.51% 0.196 331.3)
XYZxyz(21.5139, 11.7108, 31.2581)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B99 #2BA234
analogous
#702BA2 #A22B99 #A22B5D
triadic
#A22B99 #99A22B #2B99A2
tetradic
#A22B99 #A2702B #2BA234 #2B5DA2
square
#A22B99 #A2702B #2BA234 #2B5DA2
split-complementary
#A22B99 #5DA22B #2BA270
monochromatic
#41113E #721E6B #A22B99 #CC3EC1 #D96FD1

Accessibility & contrast

On white

6.28
#A22B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A22B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B99
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B99#FFFFFF#000000##FFFFFF
##A22B991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569C
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#A9395F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22b99;
/* rgb */ color: rgb(162, 43, 153);
/* oklch */ color: oklch(51.5% 0.196 331.3);
Tailwind
colors: {
  custom: {
    50: '#c171b7',
    500: '#a22b99',
    950: '#000000',
  },
}
SCSS
$custom: #a22b99;
$custom-light: #c171b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b99",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 304.538,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.1956,
    "h": 331.3
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#A22B99
secondary
#69C070
accent
#E15247
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22B99

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

Preview Lab → · Contrast checker → · Palette generator →

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