#A22A87#A22A87

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

Color values

HEX#A22A87
RGBrgb(162, 42, 135)
HSLhsl(314, 59%, 40%)
HSVhsv(314, 74%, 64%)
CMYKcmyk(0%, 74.1%, 16.7%, 36.5%)
CIE-LABlab(39.73, 57.69, -24.73)
CIE-LCHlch(39.73, 62.76, 336.80°)
OKLaboklab(50.47% 0.1711 -0.067)
OKLCHoklch(50.47% 0.184 338.6)
XYZxyz(20.1019, 11.0885, 23.9986)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A87 #2AA245
analogous
#812AA2 #A22A87 #A22A4B
triadic
#A22A87 #87A22A #2A87A2
tetradic
#A22A87 #A2812A #2AA245 #2A4BA2
square
#A22A87 #A2812A #2AA245 #2A4BA2
split-complementary
#A22A87 #4BA22A #2AA281
monochromatic
#411136 #711D5F #A22A87 #CD3DAC #D96DC1

Accessibility & contrast

On white

6.53
#A22A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22A87
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A87#FFFFFF#000000##FFFFFF
##A22A871.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#AB2F55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22a87;
/* rgb */ color: rgb(162, 42, 135);
/* oklch */ color: oklch(50.5% 0.184 338.6);
Tailwind
colors: {
  custom: {
    50: '#c170aa',
    500: '#a22a87',
    950: '#000000',
  },
}
SCSS
$custom: #a22a87;
$custom-light: #c170aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a87",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 313.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.50474,
    "c": 0.18372,
    "h": 338.6
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#A22A87
secondary
#68C07C
accent
#E26946
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22A87

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

Preview Lab → · Contrast checker → · Palette generator →

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