#A22A78#A22A78

#A22A78 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.174 H 345.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A22A78
RGBrgb(162, 42, 120)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 74%, 64%)
CMYKcmyk(0%, 74.1%, 25.9%, 36.5%)
CIE-LABlab(39.06, 55.62, -16.48)
CIE-LCHlch(39.06, 58.01, 343.50°)
OKLaboklab(49.77% 0.1685 -0.0438)
OKLCHoklch(49.77% 0.174 345.4)
XYZxyz(19.1192, 10.6954, 18.8232)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A78 #2AA254
analogous
#902AA2 #A22A78 #A22A3C
triadic
#A22A78 #78A22A #2A78A2
tetradic
#A22A78 #A2902A #2AA254 #2A3CA2
square
#A22A78 #A2902A #2AA254 #2A3CA2
split-complementary
#A22A78 #3CA22A #2AA290
monochromatic
#411130 #711D54 #A22A78 #CD3D9A #D96DB3

Accessibility & contrast

On white

6.69
#A22A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A22A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A78
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A78#FFFFFF#000000##FFFFFF
##A22A781.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5D6375
Tritanopia (blue-blind)
#AD284D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22a78;
/* rgb */ color: rgb(162, 42, 120);
/* oklch */ color: oklch(49.8% 0.174 345.4);
Tailwind
colors: {
  custom: {
    50: '#c16f9f',
    500: '#a22a78',
    950: '#000000',
  },
}
SCSS
$custom: #a22a78;
$custom-light: #c16f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a78",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 321,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.49773,
    "c": 0.1741,
    "h": 345.4
  },
  "luminance": 0.10693
}

Semantic roles & 50–950 ramp

primary
#A22A78
secondary
#68C087
accent
#E27C46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22A78

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

Preview Lab → · Contrast checker → · Palette generator →

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