#A22779#A22779

#A22779 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.178 H 344.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A22779
RGBrgb(162, 39, 121)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 76%, 64%)
CMYKcmyk(0%, 75.9%, 25.3%, 36.5%)
CIE-LABlab(38.75, 56.76, -17.58)
CIE-LCHlch(38.75, 59.42, 342.79°)
OKLaboklab(49.56% 0.1718 -0.0468)
OKLCHoklch(49.56% 0.178 344.8)
XYZxyz(19.0778, 10.5150, 19.1103)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22779 #27A250
analogous
#8E27A2 #A22779 #A2273C
triadic
#A22779 #79A227 #2779A2
tetradic
#A22779 #A28E27 #27A250 #273CA2
square
#A22779 #A28E27 #27A250 #273CA2
split-complementary
#A22779 #3CA227 #27A28E
monochromatic
#3F0F2F #711B54 #A22779 #CF379C #DB69B5

Accessibility & contrast

On white

6.77
#A22779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A22779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22779
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22779#FFFFFF#000000##FFFFFF
##A227791.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#AD254D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22779;
/* rgb */ color: rgb(162, 39, 121);
/* oklch */ color: oklch(49.6% 0.178 344.8);
Tailwind
colors: {
  custom: {
    50: '#c26ea0',
    500: '#a22779',
    950: '#000000',
  },
}
SCSS
$custom: #a22779;
$custom-light: #c26ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a22779",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 320,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.17808,
    "h": 344.8
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#A22779
secondary
#64C183
accent
#E47943
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22779

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

Preview Lab → · Contrast checker → · Palette generator →

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