#A22D87#A22D87

#A22D87 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 338.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A22D87
RGBrgb(162, 45, 135)
HSLhsl(314, 57%, 41%)
HSVhsv(314, 72%, 64%)
CMYKcmyk(0%, 72.2%, 16.7%, 36.5%)
CIE-LABlab(40.10, 56.65, -24.15)
CIE-LCHlch(40.10, 61.58, 336.91°)
OKLaboklab(50.74% 0.1679 -0.0654)
OKLCHoklch(50.74% 0.18 338.7)
XYZxyz(20.2123, 11.3093, 24.0354)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D87 #2DA248
analogous
#822DA2 #A22D87 #A22D4C
triadic
#A22D87 #87A22D #2D87A2
tetradic
#A22D87 #A2822D #2DA248 #2D4CA2
square
#A22D87 #A2822D #2DA248 #2D4CA2
split-complementary
#A22D87 #4CA22D #2DA282
monochromatic
#421237 #72205F #A22D87 #CA42AB #D872C0

Accessibility & contrast

On white

6.44
#A22D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22D87
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D87#FFFFFF#000000##FFFFFF
##A22D871.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#596584
Tritanopia (blue-blind)
#AB3256
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22d87;
/* rgb */ color: rgb(162, 45, 135);
/* oklch */ color: oklch(50.7% 0.180 338.7);
Tailwind
colors: {
  custom: {
    50: '#c171aa',
    500: '#a22d87',
    950: '#000000',
  },
}
SCSS
$custom: #a22d87;
$custom-light: #c171aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d87",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 313.846,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.18022,
    "h": 338.7
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#A22D87
secondary
#6CBF7F
accent
#E06B48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22D87

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

Preview Lab → · Contrast checker → · Palette generator →

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