#A22D83#A22D83

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

Color values

HEX#A22D83
RGBrgb(162, 45, 131)
HSLhsl(316, 57%, 41%)
HSVhsv(316, 72%, 64%)
CMYKcmyk(0%, 72.2%, 19.1%, 36.5%)
CIE-LABlab(39.91, 56.07, -21.98)
CIE-LCHlch(39.91, 60.23, 338.60°)
OKLaboklab(50.55% 0.1673 -0.0592)
OKLCHoklch(50.55% 0.178 340.5)
XYZxyz(19.9360, 11.1988, 22.5800)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D83 #2DA24C
analogous
#862DA2 #A22D83 #A22D49
triadic
#A22D83 #83A22D #2D83A2
tetradic
#A22D83 #A2862D #2DA24C #2D49A2
square
#A22D83 #A2862D #2DA24C #2D49A2
split-complementary
#A22D83 #49A22D #2DA286
monochromatic
#421236 #72205C #A22D83 #CA42A6 #D872BD

Accessibility & contrast

On white

6.48
#A22D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A22D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D83
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D83#FFFFFF#000000##FFFFFF
##A22D831.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22d83;
/* rgb */ color: rgb(162, 45, 131);
/* oklch */ color: oklch(50.5% 0.177 340.5);
Tailwind
colors: {
  custom: {
    50: '#c171a7',
    500: '#a22d83',
    950: '#000000',
  },
}
SCSS
$custom: #a22d83;
$custom-light: #c171a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d83",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 315.897,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.1775,
    "h": 340.5
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#A22D83
secondary
#6CBF82
accent
#E07048
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22D83

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

Preview Lab → · Contrast checker → · Palette generator →

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