#A22D89#A22D89

#A22D89 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.182 H 337.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A22D89
RGBrgb(162, 45, 137)
HSLhsl(313, 57%, 41%)
HSVhsv(313, 72%, 64%)
CMYKcmyk(0%, 72.2%, 15.4%, 36.5%)
CIE-LABlab(40.19, 56.94, -25.23)
CIE-LCHlch(40.19, 62.28, 336.10°)
OKLaboklab(50.84% 0.1682 -0.0685)
OKLCHoklch(50.84% 0.182 337.9)
XYZxyz(20.3544, 11.3662, 24.7840)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D89 #2DA246
analogous
#812DA2 #A22D89 #A22D4E
triadic
#A22D89 #89A22D #2D89A2
tetradic
#A22D89 #A2812D #2DA246 #2D4EA2
square
#A22D89 #A2812D #2DA246 #2D4EA2
split-complementary
#A22D89 #4EA22D #2DA281
monochromatic
#421238 #722060 #A22D89 #CA42AD #D872C2

Accessibility & contrast

On white

6.42
#A22D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A22D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D89
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D89#FFFFFF#000000##FFFFFF
##A22D891.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#AB3357
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22d89;
/* rgb */ color: rgb(162, 45, 137);
/* oklch */ color: oklch(50.8% 0.182 337.9);
Tailwind
colors: {
  custom: {
    50: '#c171ab',
    500: '#a22d89',
    950: '#000000',
  },
}
SCSS
$custom: #a22d89;
$custom-light: #c171ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d89",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 312.821,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50839,
    "c": 0.18161,
    "h": 337.9
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#A22D89
secondary
#6CBF7D
accent
#E06848
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22D89

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

Preview Lab → · Contrast checker → · Palette generator →

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