#A22778#A22778

#A22778 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 345.2°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A22778
RGBrgb(162, 39, 120)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 76%, 64%)
CMYKcmyk(0%, 75.9%, 25.9%, 36.5%)
CIE-LABlab(38.71, 56.63, -17.02)
CIE-LCHlch(38.71, 59.13, 343.27°)
OKLaboklab(49.52% 0.1716 -0.0453)
OKLCHoklch(49.52% 0.177 345.2)
XYZxyz(19.0168, 10.4906, 18.7891)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22778 #27A251
analogous
#8F27A2 #A22778 #A2273A
triadic
#A22778 #78A227 #2778A2
tetradic
#A22778 #A28F27 #27A251 #273AA2
square
#A22778 #A28F27 #27A251 #273AA2
split-complementary
#A22778 #3AA227 #27A28F
monochromatic
#3F0F2F #711B53 #A22778 #CF379B #DB69B4

Accessibility & contrast

On white

6.78
#A22778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A22778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22778
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22778#FFFFFF#000000##FFFFFF
##A227781.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#5C6375
Tritanopia (blue-blind)
#AD254C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22778;
/* rgb */ color: rgb(162, 39, 120);
/* oklch */ color: oklch(49.5% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#c26e9f',
    500: '#a22778',
    950: '#000000',
  },
}
SCSS
$custom: #a22778;
$custom-light: #c26e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22778",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 320.488,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.17748,
    "h": 345.2
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#A22778
secondary
#64C184
accent
#E47A43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22778

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

Preview Lab → · Contrast checker → · Palette generator →

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