#A22C8A#A22C8A

#A22C8A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.183 H 337.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A22C8A
RGBrgb(162, 44, 138)
HSLhsl(312, 57%, 40%)
HSVhsv(312, 73%, 64%)
CMYKcmyk(0%, 72.8%, 14.8%, 36.5%)
CIE-LABlab(40.11, 57.44, -25.97)
CIE-LCHlch(40.11, 63.04, 335.67°)
OKLaboklab(50.8% 0.1694 -0.0705)
OKLCHoklch(50.8% 0.183 337.4)
XYZxyz(20.3888, 11.3196, 25.1509)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C8A #2CA244
analogous
#7F2CA2 #A22C8A #A22C4F
triadic
#A22C8A #8AA22C #2C8AA2
tetradic
#A22C8A #A27F2C #2CA244 #2C4FA2
square
#A22C8A #A27F2C #2CA244 #2C4FA2
split-complementary
#A22C8A #4FA22C #2CA27F
monochromatic
#421238 #721F61 #A22C8A #CB40AF #D870C3

Accessibility & contrast

On white

6.43
#A22C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22C8A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C8A#FFFFFF#000000##FFFFFF
##A22C8A1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#AB3357
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22c8a;
/* rgb */ color: rgb(162, 44, 138);
/* oklch */ color: oklch(50.8% 0.183 337.4);
Tailwind
colors: {
  custom: {
    50: '#c171ac',
    500: '#a22c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a22c8a;
$custom-light: #c171ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c8a",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 312.203,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.18349,
    "h": 337.4
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#A22C8A
secondary
#6ABF7C
accent
#E16647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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