#A22772#A22772

#A22772 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.174 H 348.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A22772
RGBrgb(162, 39, 114)
HSLhsl(323, 61%, 39%)
HSVhsv(323, 76%, 64%)
CMYKcmyk(0%, 75.9%, 29.6%, 36.5%)
CIE-LABlab(38.46, 55.87, -13.65)
CIE-LCHlch(38.46, 57.51, 346.27°)
OKLaboklab(49.26% 0.1703 -0.0359)
OKLCHoklch(49.26% 0.174 348.1)
XYZxyz(18.6640, 10.3494, 16.9311)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22772 #27A257
analogous
#9527A2 #A22772 #A22734
triadic
#A22772 #72A227 #2772A2
tetradic
#A22772 #A29527 #27A257 #2734A2
square
#A22772 #A29527 #27A257 #2734A2
split-complementary
#A22772 #34A227 #27A295
monochromatic
#3F0F2D #711B4F #A22772 #CF3794 #DB69AE

Accessibility & contrast

On white

6.84
#A22772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22772
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22772#FFFFFF#000000##FFFFFF
##A227721.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#AE2149
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22772;
/* rgb */ color: rgb(162, 39, 114);
/* oklch */ color: oklch(49.3% 0.174 348.1);
Tailwind
colors: {
  custom: {
    50: '#c26e9a',
    500: '#a22772',
    950: '#000000',
  },
}
SCSS
$custom: #a22772;
$custom-light: #c26e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a22772",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 323.415,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.17405,
    "h": 348.1
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#A22772
secondary
#64C188
accent
#E48243
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22772

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

Preview Lab → · Contrast checker → · Palette generator →

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