#A22B7A#A22B7A

#A22B7A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.174 H 344.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A22B7A
RGBrgb(162, 43, 122)
HSLhsl(320, 58%, 40%)
HSVhsv(320, 73%, 64%)
CMYKcmyk(0%, 73.5%, 24.7%, 36.5%)
CIE-LABlab(39.27, 55.54, -17.41)
CIE-LCHlch(39.27, 58.20, 342.60°)
OKLaboklab(49.95% 0.1679 -0.0464)
OKLCHoklch(49.95% 0.174 344.6)
XYZxyz(19.2778, 10.8163, 19.4811)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B7A #2BA253
analogous
#8E2BA2 #A22B7A #A22B3E
triadic
#A22B7A #7AA22B #2B7AA2
tetradic
#A22B7A #A28E2B #2BA253 #2B3EA2
square
#A22B7A #A28E2B #2BA253 #2B3EA2
split-complementary
#A22B7A #3EA22B #2BA28E
monochromatic
#411131 #721E56 #A22B7A #CC3E9C #D96FB5

Accessibility & contrast

On white

6.64
#A22B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A22B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B7A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B7A#FFFFFF#000000##FFFFFF
##A22B7A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#AD2A4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22b7a;
/* rgb */ color: rgb(162, 43, 122);
/* oklch */ color: oklch(50.0% 0.174 344.6);
Tailwind
colors: {
  custom: {
    50: '#c170a0',
    500: '#a22b7a',
    950: '#000000',
  },
}
SCSS
$custom: #a22b7a;
$custom-light: #c170a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b7a",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 320.168,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.17413,
    "h": 344.6
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#A22B7A
secondary
#69C086
accent
#E17B47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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