#A22C78#A22C78

#A22C78 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.172 H 345.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A22C78
RGBrgb(162, 44, 120)
HSLhsl(321, 57%, 40%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 72.8%, 25.9%, 36.5%)
CIE-LABlab(39.31, 54.92, -16.10)
CIE-LCHlch(39.31, 57.23, 343.66°)
OKLaboklab(49.95% 0.1664 -0.0427)
OKLCHoklch(49.95% 0.172 345.6)
XYZxyz(19.1919, 10.8409, 18.8474)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C78 #2CA256
analogous
#912CA2 #A22C78 #A22C3D
triadic
#A22C78 #78A22C #2C78A2
tetradic
#A22C78 #A2912C #2CA256 #2C3DA2
square
#A22C78 #A2912C #2CA256 #2C3DA2
split-complementary
#A22C78 #3DA22C #2CA291
monochromatic
#421231 #721F54 #A22C78 #CB409A #D870B3

Accessibility & contrast

On white

6.63
#A22C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A22C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C78
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C78#FFFFFF#000000##FFFFFF
##A22C781.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22c78;
/* rgb */ color: rgb(162, 44, 120);
/* oklch */ color: oklch(50.0% 0.172 345.6);
Tailwind
colors: {
  custom: {
    50: '#c1709f',
    500: '#a22c78',
    950: '#000000',
  },
}
SCSS
$custom: #a22c78;
$custom-light: #c1709f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c78",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 321.356,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.17175,
    "h": 345.6
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#A22C78
secondary
#6ABF89
accent
#E17E47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22C78

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

Preview Lab → · Contrast checker → · Palette generator →

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