#A22E8A#A22E8A

#A22E8A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.181 H 337.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A22E8A
RGBrgb(162, 46, 138)
HSLhsl(312, 56%, 41%)
HSVhsv(312, 72%, 64%)
CMYKcmyk(0%, 71.6%, 14.8%, 36.5%)
CIE-LABlab(40.36, 56.73, -25.58)
CIE-LCHlch(40.36, 62.23, 335.73°)
OKLaboklab(50.98% 0.1673 -0.0694)
OKLCHoklch(50.98% 0.181 337.5)
XYZxyz(20.4651, 11.4722, 25.1764)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E8A #2EA246
analogous
#802EA2 #A22E8A #A22E50
triadic
#A22E8A #8AA22E #2E8AA2
tetradic
#A22E8A #A2802E #2EA246 #2E50A2
square
#A22E8A #A2802E #2EA246 #2E50A2
split-complementary
#A22E8A #50A22E #2EA280
monochromatic
#431339 #722061 #A22E8A #CA43AE #D773C3

Accessibility & contrast

On white

6.38
#A22E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A22E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E8A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E8A#FFFFFF#000000##FFFFFF
##A22E8A1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#586687
Tritanopia (blue-blind)
#AB3458
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22e8a;
/* rgb */ color: rgb(162, 46, 138);
/* oklch */ color: oklch(51.0% 0.181 337.5);
Tailwind
colors: {
  custom: {
    50: '#c171ac',
    500: '#a22e8a',
    950: '#000000',
  },
}
SCSS
$custom: #a22e8a;
$custom-light: #c171ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e8a",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 312.414,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50981,
    "c": 0.18111,
    "h": 337.5
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#A22E8A
secondary
#6DBF7E
accent
#DF6849
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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