#A22C83#A22C83

#A22C83 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.179 H 340.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A22C83
RGBrgb(162, 44, 131)
HSLhsl(316, 57%, 40%)
HSVhsv(316, 73%, 64%)
CMYKcmyk(0%, 72.8%, 19.1%, 36.5%)
CIE-LABlab(39.79, 56.43, -22.17)
CIE-LCHlch(39.79, 60.63, 338.55°)
OKLaboklab(50.46% 0.1684 -0.0598)
OKLCHoklch(50.46% 0.179 340.5)
XYZxyz(19.8983, 11.1234, 22.5674)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C83 #2CA24B
analogous
#862CA2 #A22C83 #A22C48
triadic
#A22C83 #83A22C #2C83A2
tetradic
#A22C83 #A2862C #2CA24B #2C48A2
square
#A22C83 #A2862C #2CA24B #2C48A2
split-complementary
#A22C83 #48A22C #2CA286
monochromatic
#421235 #721F5C #A22C83 #CB40A7 #D870BD

Accessibility & contrast

On white

6.51
#A22C83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A22C83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C83
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C83#FFFFFF#000000##FFFFFF
##A22C831.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355285
Deuteranopia (green-blind)
#5A6580
Tritanopia (blue-blind)
#AC2F54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22c83;
/* rgb */ color: rgb(162, 44, 131);
/* oklch */ color: oklch(50.5% 0.179 340.5);
Tailwind
colors: {
  custom: {
    50: '#c170a7',
    500: '#a22c83',
    950: '#000000',
  },
}
SCSS
$custom: #a22c83;
$custom-light: #c170a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c83",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 315.763,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.1787,
    "h": 340.5
  },
  "luminance": 0.11121
}

Semantic roles & 50–950 ramp

primary
#A22C83
secondary
#6ABF81
accent
#E17047
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22C83

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

Preview Lab → · Contrast checker → · Palette generator →

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