#A22E84#A22E84

#A22E84 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.177 H 340.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A22E84
RGBrgb(162, 46, 132)
HSLhsl(316, 56%, 41%)
HSVhsv(316, 72%, 64%)
CMYKcmyk(0%, 71.6%, 18.5%, 36.5%)
CIE-LABlab(40.09, 55.85, -22.33)
CIE-LCHlch(40.09, 60.15, 338.21°)
OKLaboklab(50.69% 0.1664 -0.0602)
OKLCHoklch(50.69% 0.177 340.1)
XYZxyz(20.0427, 11.3032, 22.9515)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E84 #2EA24C
analogous
#862EA2 #A22E84 #A22E4A
triadic
#A22E84 #84A22E #2E84A2
tetradic
#A22E84 #A2862E #2EA24C #2E4AA2
square
#A22E84 #A2862E #2EA24C #2E4AA2
split-complementary
#A22E84 #4AA22E #2EA286
monochromatic
#431336 #72205D #A22E84 #CA43A7 #D773BD

Accessibility & contrast

On white

6.44
#A22E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A22E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E84
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E84#FFFFFF#000000##FFFFFF
##A22E841.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22e84;
/* rgb */ color: rgb(162, 46, 132);
/* oklch */ color: oklch(50.7% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#c171a8',
    500: '#a22e84',
    950: '#000000',
  },
}
SCSS
$custom: #a22e84;
$custom-light: #c171a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e84",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 315.517,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.17696,
    "h": 340.1
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#A22E84
secondary
#6DBF82
accent
#DF7049
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22E84

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

Preview Lab → · Contrast checker → · Palette generator →

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