#A22D8B#A22D8B

#A22D8B is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.183 H 337.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A22D8B
RGBrgb(162, 45, 139)
HSLhsl(312, 57%, 41%)
HSVhsv(312, 72%, 64%)
CMYKcmyk(0%, 72.2%, 14.2%, 36.5%)
CIE-LABlab(40.29, 57.24, -26.31)
CIE-LCHlch(40.29, 63.00, 335.31°)
OKLaboklab(50.94% 0.1685 -0.0715)
OKLCHoklch(50.94% 0.183 337)
XYZxyz(20.4992, 11.4241, 25.5465)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D8B #2DA244
analogous
#7E2DA2 #A22D8B #A22D50
triadic
#A22D8B #8BA22D #2D8BA2
tetradic
#A22D8B #A27E2D #2DA244 #2D50A2
square
#A22D8B #A27E2D #2DA244 #2D50A2
split-complementary
#A22D8B #50A22D #2DA27E
monochromatic
#421239 #722062 #A22D8B #CA42B0 #D872C4

Accessibility & contrast

On white

6.39
#A22D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A22D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D8B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D8B#FFFFFF#000000##FFFFFF
##A22D8B1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#AB3458
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a22d8b;
/* rgb */ color: rgb(162, 45, 139);
/* oklch */ color: oklch(50.9% 0.183 337.0);
Tailwind
colors: {
  custom: {
    50: '#c171ad',
    500: '#a22d8b',
    950: '#000000',
  },
}
SCSS
$custom: #a22d8b;
$custom-light: #c171ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d8b",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 311.795,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.18302,
    "h": 337
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#A22D8B
secondary
#6CBF7C
accent
#E06648
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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