#A22B78#A22B78

#A22B78 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.173 H 345.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A22B78
RGBrgb(162, 43, 120)
HSLhsl(321, 58%, 40%)
HSVhsv(321, 73%, 64%)
CMYKcmyk(0%, 73.5%, 25.9%, 36.5%)
CIE-LABlab(39.19, 55.28, -16.29)
CIE-LCHlch(39.19, 57.63, 343.58°)
OKLaboklab(49.86% 0.1674 -0.0433)
OKLCHoklch(49.86% 0.173 345.5)
XYZxyz(19.1551, 10.7673, 18.8352)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22B78 #2BA255
analogous
#902BA2 #A22B78 #A22B3D
triadic
#A22B78 #78A22B #2B78A2
tetradic
#A22B78 #A2902B #2BA255 #2B3DA2
square
#A22B78 #A2902B #2BA255 #2B3DA2
split-complementary
#A22B78 #3DA22B #2BA290
monochromatic
#411130 #721E54 #A22B78 #CC3E9A #D96FB3

Accessibility & contrast

On white

6.66
#A22B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A22B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22B78
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22B78#FFFFFF#000000##FFFFFF
##A22B781.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F7A
Deuteranopia (green-blind)
#5D6475
Tritanopia (blue-blind)
#AD294E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22b78;
/* rgb */ color: rgb(162, 43, 120);
/* oklch */ color: oklch(49.9% 0.173 345.5);
Tailwind
colors: {
  custom: {
    50: '#c16f9f',
    500: '#a22b78',
    950: '#000000',
  },
}
SCSS
$custom: #a22b78;
$custom-light: #c16f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22b78",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 321.176,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49862,
    "c": 0.17294,
    "h": 345.5
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

primary
#A22B78
secondary
#69C088
accent
#E17D47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22B78

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

Preview Lab → · Contrast checker → · Palette generator →

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