#A22D84#A22D84

#A22D84 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.178 H 340.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A22D84
RGBrgb(162, 45, 132)
HSLhsl(315, 57%, 41%)
HSVhsv(315, 72%, 64%)
CMYKcmyk(0%, 72.2%, 18.5%, 36.5%)
CIE-LABlab(39.96, 56.21, -22.52)
CIE-LCHlch(39.96, 60.56, 338.16°)
OKLaboklab(50.6% 0.1675 -0.0608)
OKLCHoklch(50.6% 0.178 340.1)
XYZxyz(20.0041, 11.2260, 22.9386)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D84 #2DA24B
analogous
#862DA2 #A22D84 #A22D49
triadic
#A22D84 #84A22D #2D84A2
tetradic
#A22D84 #A2862D #2DA24B #2D49A2
square
#A22D84 #A2862D #2DA24B #2D49A2
split-complementary
#A22D84 #49A22D #2DA286
monochromatic
#421236 #72205D #A22D84 #CA42A7 #D872BE

Accessibility & contrast

On white

6.47
#A22D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A22D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D84
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D84#FFFFFF#000000##FFFFFF
##A22D841.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#AC3155
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22d84;
/* rgb */ color: rgb(162, 45, 132);
/* oklch */ color: oklch(50.6% 0.178 340.1);
Tailwind
colors: {
  custom: {
    50: '#c171a8',
    500: '#a22d84',
    950: '#000000',
  },
}
SCSS
$custom: #a22d84;
$custom-light: #c171a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d84",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 315.385,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.17817,
    "h": 340.1
  },
  "luminance": 0.11224
}

Semantic roles & 50–950 ramp

primary
#A22D84
secondary
#6CBF81
accent
#E06F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22D84

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

Preview Lab → · Contrast checker → · Palette generator →

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