#A22777#A22777

#A22777 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 345.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A22777
RGBrgb(162, 39, 119)
HSLhsl(321, 61%, 39%)
HSVhsv(321, 76%, 64%)
CMYKcmyk(0%, 75.9%, 26.5%, 36.5%)
CIE-LABlab(38.67, 56.50, -16.46)
CIE-LCHlch(38.67, 58.85, 343.75°)
OKLaboklab(49.47% 0.1714 -0.0437)
OKLCHoklch(49.47% 0.177 345.7)
XYZxyz(18.9564, 10.4664, 18.4711)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22777 #27A252
analogous
#9027A2 #A22777 #A22739
triadic
#A22777 #77A227 #2777A2
tetradic
#A22777 #A29027 #27A252 #2739A2
square
#A22777 #A29027 #27A252 #2739A2
split-complementary
#A22777 #39A227 #27A290
monochromatic
#3F0F2F #711B53 #A22777 #CF379A #DB69B3

Accessibility & contrast

On white

6.79
#A22777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A22777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22777
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22777#FFFFFF#000000##FFFFFF
##A227771.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E79
Deuteranopia (green-blind)
#5C6374
Tritanopia (blue-blind)
#AD244C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22777;
/* rgb */ color: rgb(162, 39, 119);
/* oklch */ color: oklch(49.5% 0.177 345.7);
Tailwind
colors: {
  custom: {
    50: '#c26e9e',
    500: '#a22777',
    950: '#000000',
  },
}
SCSS
$custom: #a22777;
$custom-light: #c26e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a22777",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 320.976,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.1769,
    "h": 345.7
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#A22777
secondary
#64C184
accent
#E47C43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22777

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

Preview Lab → · Contrast checker → · Palette generator →

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