#A22D78#A22D78

#A22D78 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.171 H 345.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A22D78
RGBrgb(162, 45, 120)
HSLhsl(322, 57%, 41%)
HSVhsv(322, 72%, 64%)
CMYKcmyk(0%, 72.2%, 25.9%, 36.5%)
CIE-LABlab(39.44, 54.56, -15.90)
CIE-LCHlch(39.44, 56.83, 343.75°)
OKLaboklab(50.05% 0.1652 -0.0422)
OKLCHoklch(50.05% 0.171 345.7)
XYZxyz(19.2296, 10.9163, 18.8600)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D78 #2DA257
analogous
#912DA2 #A22D78 #A22D3E
triadic
#A22D78 #78A22D #2D78A2
tetradic
#A22D78 #A2912D #2DA257 #2D3EA2
square
#A22D78 #A2912D #2DA257 #2D3EA2
split-complementary
#A22D78 #3EA22D #2DA291
monochromatic
#421231 #722055 #A22D78 #CA4299 #D872B3

Accessibility & contrast

On white

6.60
#A22D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D78
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D78#FFFFFF#000000##FFFFFF
##A22D781.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AD2B4E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22d78;
/* rgb */ color: rgb(162, 45, 120);
/* oklch */ color: oklch(50.0% 0.171 345.7);
Tailwind
colors: {
  custom: {
    50: '#c1709f',
    500: '#a22d78',
    950: '#000000',
  },
}
SCSS
$custom: #a22d78;
$custom-light: #c1709f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d78",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 321.538,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.17054,
    "h": 345.7
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#A22D78
secondary
#6CBF8A
accent
#E07E48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22D78

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

Preview Lab → · Contrast checker → · Palette generator →

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