#A22588#A22588

#A22588 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.190 H 338.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A22588
RGBrgb(162, 37, 136)
HSLhsl(312, 63%, 39%)
HSVhsv(312, 77%, 64%)
CMYKcmyk(0%, 77.2%, 16%, 36.5%)
CIE-LABlab(39.21, 59.43, -26.14)
CIE-LCHlch(39.21, 64.93, 336.26°)
OKLaboklab(50.12% 0.176 -0.071)
OKLCHoklch(50.12% 0.19 338)
XYZxyz(20.0062, 10.7840, 24.3157)
Luminance0.1078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22588 #25A23F
analogous
#7E25A2 #A22588 #A2254A
triadic
#A22588 #88A225 #2588A2
tetradic
#A22588 #A27E25 #25A23F #254AA2
square
#A22588 #A27E25 #25A23F #254AA2
split-complementary
#A22588 #4AA225 #25A27E
monochromatic
#3E0E34 #701A5E #A22588 #D134B0 #DC65C3

Accessibility & contrast

On white

6.65
#A22588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A22588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22588
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22588#FFFFFF#000000##FFFFFF
##A225881.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#566385
Tritanopia (blue-blind)
#AB2C54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22588;
/* rgb */ color: rgb(162, 37, 136);
/* oklch */ color: oklch(50.1% 0.190 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16eab',
    500: '#a22588',
    950: '#000000',
  },
}
SCSS
$custom: #a22588;
$custom-light: #c16eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22588",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 312.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.18979,
    "h": 338
  },
  "luminance": 0.10782
}

Semantic roles & 50–950 ramp

primary
#A22588
secondary
#61C275
accent
#E66442
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22588

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

Preview Lab → · Contrast checker → · Palette generator →

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