#A22774#A22774

#A22774 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.175 H 347.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A22774
RGBrgb(162, 39, 116)
HSLhsl(322, 61%, 39%)
HSVhsv(322, 76%, 64%)
CMYKcmyk(0%, 75.9%, 28.4%, 36.5%)
CIE-LABlab(38.54, 56.12, -14.78)
CIE-LCHlch(38.54, 58.03, 345.25°)
OKLaboklab(49.34% 0.1708 -0.039)
OKLCHoklch(49.34% 0.175 347.1)
XYZxyz(18.7791, 10.3955, 17.5372)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22774 #27A255
analogous
#9327A2 #A22774 #A22737
triadic
#A22774 #74A227 #2774A2
tetradic
#A22774 #A29327 #27A255 #2737A2
square
#A22774 #A29327 #27A255 #2737A2
split-complementary
#A22774 #37A227 #27A293
monochromatic
#3F0F2D #711B51 #A22774 #CF3796 #DB69B0

Accessibility & contrast

On white

6.82
#A22774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A22774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22774
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22774#FFFFFF#000000##FFFFFF
##A227741.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#AE224A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22774;
/* rgb */ color: rgb(162, 39, 116);
/* oklch */ color: oklch(49.3% 0.175 347.1);
Tailwind
colors: {
  custom: {
    50: '#c26e9c',
    500: '#a22774',
    950: '#000000',
  },
}
SCSS
$custom: #a22774;
$custom-light: #c26e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a22774",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 322.439,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.17516,
    "h": 347.1
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#A22774
secondary
#64C187
accent
#E48043
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22774

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

Preview Lab → · Contrast checker → · Palette generator →

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