#A22571#A22571

#A22571 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.176 H 348.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A22571
RGBrgb(162, 37, 113)
HSLhsl(324, 63%, 39%)
HSVhsv(324, 77%, 64%)
CMYKcmyk(0%, 77.2%, 30.2%, 36.5%)
CIE-LABlab(38.20, 56.39, -13.42)
CIE-LCHlch(38.20, 57.96, 346.61°)
OKLaboklab(49.05% 0.1721 -0.0353)
OKLCHoklch(49.05% 0.176 348.4)
XYZxyz(18.5435, 10.1989, 16.6116)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22571 #25A256
analogous
#9525A2 #A22571 #A22533
triadic
#A22571 #71A225 #2571A2
tetradic
#A22571 #A29525 #25A256 #2533A2
square
#A22571 #A29525 #25A256 #2533A2
split-complementary
#A22571 #33A225 #25A295
monochromatic
#3E0E2B #701A4E #A22571 #D13493 #DC65AD

Accessibility & contrast

On white

6.91
#A22571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A22571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22571
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22571#FFFFFF#000000##FFFFFF
##A225711.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#AE1E48
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22571;
/* rgb */ color: rgb(162, 37, 113);
/* oklch */ color: oklch(49.0% 0.176 348.4);
Tailwind
colors: {
  custom: {
    50: '#c26d99',
    500: '#a22571',
    950: '#000000',
  },
}
SCSS
$custom: #a22571;
$custom-light: #c26d99;
$custom-dark: #000000;
JSON
{
  "hex": "#a22571",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 323.52,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.17565,
    "h": 348.4
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#A22571
secondary
#61C287
accent
#E68242
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A22571

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

Preview Lab → · Contrast checker → · Palette generator →

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