#A22A7A#A22A7A

#A22A7A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.175 H 344.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A22A7A
RGBrgb(162, 42, 122)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 74%, 64%)
CMYKcmyk(0%, 74.1%, 24.7%, 36.5%)
CIE-LABlab(39.15, 55.89, -17.59)
CIE-LCHlch(39.15, 58.59, 342.53°)
OKLaboklab(49.86% 0.1689 -0.0469)
OKLCHoklch(49.86% 0.175 344.5)
XYZxyz(19.2419, 10.7445, 19.4691)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A7A #2AA252
analogous
#8E2AA2 #A22A7A #A22A3E
triadic
#A22A7A #7AA22A #2A7AA2
tetradic
#A22A7A #A28E2A #2AA252 #2A3EA2
square
#A22A7A #A28E2A #2AA252 #2A3EA2
split-complementary
#A22A7A #3EA22A #2AA28E
monochromatic
#411131 #711D55 #A22A7A #CD3D9D #D96DB5

Accessibility & contrast

On white

6.67
#A22A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A22A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A7A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A7A#FFFFFF#000000##FFFFFF
##A22A7A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#5D6377
Tritanopia (blue-blind)
#AD294E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22a7a;
/* rgb */ color: rgb(162, 42, 122);
/* oklch */ color: oklch(49.9% 0.175 344.5);
Tailwind
colors: {
  custom: {
    50: '#c16fa0',
    500: '#a22a7a',
    950: '#000000',
  },
}
SCSS
$custom: #a22a7a;
$custom-light: #c16fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a7a",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 320,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.1753,
    "h": 344.5
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#A22A7A
secondary
#68C085
accent
#E27A46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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