#A22B92#A22B92

#A22B92 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.190 H 334.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A22B92
RGBrgb(162, 43, 146)
HSLhsl(308, 58%, 40%)
HSVhsv(308, 73%, 64%)
CMYKcmyk(0%, 73.5%, 9.9%, 36.5%)
CIE-LABlab(40.39, 58.99, -30.42)
CIE-LCHlch(40.39, 66.37, 332.72°)
OKLaboklab(51.13% 0.1712 -0.0833)
OKLCHoklch(51.13% 0.19 334.1)
XYZxyz(20.9527, 11.4863, 28.3021)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B92 #2BA23B
analogous
#762BA2 #A22B92 #A22B57
triadic
#A22B92 #92A22B #2B92A2
tetradic
#A22B92 #A2762B #2BA23B #2B57A2
square
#A22B92 #A2762B #2BA23B #2B57A2
split-complementary
#A22B92 #57A22B #2BA276
monochromatic
#41113B #721E66 #A22B92 #CC3EB9 #D96FCA

Accessibility & contrast

On white

6.37
#A22B92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A22B92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B92
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B92#FFFFFF#000000##FFFFFF
##A22B921.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#54658F
Tritanopia (blue-blind)
#AA365B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22b92;
/* rgb */ color: rgb(162, 43, 146);
/* oklch */ color: oklch(51.1% 0.190 334.1);
Tailwind
colors: {
  custom: {
    50: '#c170b2',
    500: '#a22b92',
    950: '#000000',
  },
}
SCSS
$custom: #a22b92;
$custom-light: #c170b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b92",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 308.067,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.19038,
    "h": 334.1
  },
  "luminance": 0.11484
}

Semantic roles & 50–950 ramp

primary
#A22B92
secondary
#69C075
accent
#E15B47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22B92

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

Preview Lab → · Contrast checker → · Palette generator →

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