#A22771#A22771

#A22771 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.173 H 348.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A22771
RGBrgb(162, 39, 113)
HSLhsl(324, 61%, 39%)
HSVhsv(324, 76%, 64%)
CMYKcmyk(0%, 75.9%, 30.2%, 36.5%)
CIE-LABlab(38.42, 55.75, -13.08)
CIE-LCHlch(38.42, 57.26, 346.79°)
OKLaboklab(49.21% 0.1701 -0.0343)
OKLCHoklch(49.21% 0.174 348.6)
XYZxyz(18.6074, 10.3268, 16.6330)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22771 #27A258
analogous
#9527A2 #A22771 #A22734
triadic
#A22771 #71A227 #2771A2
tetradic
#A22771 #A29527 #27A258 #2734A2
square
#A22771 #A29527 #27A258 #2734A2
split-complementary
#A22771 #34A227 #27A295
monochromatic
#3F0F2C #711B4F #A22771 #CF3793 #DB69AD

Accessibility & contrast

On white

6.85
#A22771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A22771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22771
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22771#FFFFFF#000000##FFFFFF
##A227711.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#AE2149
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22771;
/* rgb */ color: rgb(162, 39, 113);
/* oklch */ color: oklch(49.2% 0.173 348.6);
Tailwind
colors: {
  custom: {
    50: '#c26e99',
    500: '#a22771',
    950: '#000000',
  },
}
SCSS
$custom: #a22771;
$custom-light: #c26e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a22771",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 323.902,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.1735,
    "h": 348.6
  },
  "luminance": 0.10325
}

Semantic roles & 50–950 ramp

primary
#A22771
secondary
#64C189
accent
#E48443
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22771

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

Preview Lab → · Contrast checker → · Palette generator →

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