#A22A92#A22A92

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

Color values

HEX#A22A92
RGBrgb(162, 42, 146)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 74%, 64%)
CMYKcmyk(0%, 74.1%, 9.9%, 36.5%)
CIE-LABlab(40.27, 59.33, -30.60)
CIE-LCHlch(40.27, 66.76, 332.71°)
OKLaboklab(51.04% 0.1722 -0.0838)
OKLCHoklch(51.04% 0.191 334)
XYZxyz(20.9167, 11.4144, 28.2901)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A92 #2AA23A
analogous
#762AA2 #A22A92 #A22A56
triadic
#A22A92 #92A22A #2A92A2
tetradic
#A22A92 #A2762A #2AA23A #2A56A2
square
#A22A92 #A2762A #2AA23A #2A56A2
split-complementary
#A22A92 #56A22A #2AA276
monochromatic
#41113A #711D66 #A22A92 #CD3DB9 #D96DCB

Accessibility & contrast

On white

6.40
#A22A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22A92
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A92#FFFFFF#000000##FFFFFF
##A22A921.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#AA355B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22a92;
/* rgb */ color: rgb(162, 42, 146);
/* oklch */ color: oklch(51.0% 0.191 334.0);
Tailwind
colors: {
  custom: {
    50: '#c170b2',
    500: '#a22a92',
    950: '#000000',
  },
}
SCSS
$custom: #a22a92;
$custom-light: #c170b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a92",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 308,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.5104,
    "c": 0.19149,
    "h": 334
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#A22A92
secondary
#68C074
accent
#E25B46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A92

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

Preview Lab → · Contrast checker → · Palette generator →

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