#A22D7A#A22D7A

#A22D7A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.172 H 344.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A22D7A
RGBrgb(162, 45, 122)
HSLhsl(321, 57%, 41%)
HSVhsv(321, 72%, 64%)
CMYKcmyk(0%, 72.2%, 24.7%, 36.5%)
CIE-LABlab(39.52, 54.83, -17.02)
CIE-LCHlch(39.52, 57.41, 342.76°)
OKLaboklab(50.14% 0.1657 -0.0453)
OKLCHoklch(50.14% 0.172 344.7)
XYZxyz(19.3523, 10.9653, 19.5059)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D7A #2DA255
analogous
#8F2DA2 #A22D7A #A22D3F
triadic
#A22D7A #7AA22D #2D7AA2
tetradic
#A22D7A #A28F2D #2DA255 #2D3FA2
square
#A22D7A #A28F2D #2DA255 #2D3FA2
split-complementary
#A22D7A #3FA22D #2DA28F
monochromatic
#421232 #722056 #A22D7A #CA429C #D872B5

Accessibility & contrast

On white

6.58
#A22D7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22D7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D7A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D7A#FFFFFF#000000##FFFFFF
##A22D7A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517C
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#AD2C4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22d7a;
/* rgb */ color: rgb(162, 45, 122);
/* oklch */ color: oklch(50.1% 0.172 344.7);
Tailwind
colors: {
  custom: {
    50: '#c170a0',
    500: '#a22d7a',
    950: '#000000',
  },
}
SCSS
$custom: #a22d7a;
$custom-light: #c170a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d7a",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 320.513,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50135,
    "c": 0.17174,
    "h": 344.7
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#A22D7A
secondary
#6CBF88
accent
#E07C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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