#A22C8F#A22C8F

#A22C8F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.187 H 335.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A22C8F
RGBrgb(162, 44, 143)
HSLhsl(310, 57%, 40%)
HSVhsv(310, 73%, 64%)
CMYKcmyk(0%, 72.8%, 11.7%, 36.5%)
CIE-LABlab(40.36, 58.19, -28.64)
CIE-LCHlch(40.36, 64.86, 333.80°)
OKLaboklab(51.05% 0.1699 -0.0782)
OKLCHoklch(51.05% 0.187 335.3)
XYZxyz(20.7592, 11.4677, 27.1015)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C8F #2CA23F
analogous
#7A2CA2 #A22C8F #A22C54
triadic
#A22C8F #8FA22C #2C8FA2
tetradic
#A22C8F #A27A2C #2CA23F #2C54A2
square
#A22C8F #A27A2C #2CA23F #2C54A2
split-complementary
#A22C8F #54A22C #2CA27A
monochromatic
#42123A #721F65 #A22C8F #CB40B5 #D870C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22C8F#FFFFFF#000000##FFFFFF
##A22C8F1.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)
#2C5492
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AA355A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22c8f;
/* rgb */ color: rgb(162, 44, 143);
/* oklch */ color: oklch(51.1% 0.187 335.3);
Tailwind
colors: {
  custom: {
    50: '#c171b0',
    500: '#a22c8f',
    950: '#000000',
  },
}
SCSS
$custom: #a22c8f;
$custom-light: #c171b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c8f",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 309.661,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.18706,
    "h": 335.3
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#A22C8F
secondary
#6ABF78
accent
#E16047
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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