#A22978#A22978

#A22978 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.175 H 345.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A22978
RGBrgb(162, 41, 120)
HSLhsl(321, 60%, 40%)
HSVhsv(321, 75%, 64%)
CMYKcmyk(0%, 74.7%, 25.9%, 36.5%)
CIE-LABlab(38.94, 55.96, -16.66)
CIE-LCHlch(38.94, 58.39, 343.42°)
OKLaboklab(49.69% 0.1696 -0.0443)
OKLCHoklch(49.69% 0.175 345.4)
XYZxyz(19.0842, 10.6254, 18.8115)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22978 #29A253
analogous
#8F29A2 #A22978 #A2293C
triadic
#A22978 #78A229 #2978A2
tetradic
#A22978 #A28F29 #29A253 #293CA2
square
#A22978 #A28F29 #29A253 #293CA2
split-complementary
#A22978 #3CA229 #29A28F
monochromatic
#401030 #711D54 #A22978 #CD3B9B #DA6CB4

Accessibility & contrast

On white

6.72
#A22978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A22978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22978
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22978#FFFFFF#000000##FFFFFF
##A229781.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22978;
/* rgb */ color: rgb(162, 41, 120);
/* oklch */ color: oklch(49.7% 0.175 345.4);
Tailwind
colors: {
  custom: {
    50: '#c26f9f',
    500: '#a22978',
    950: '#000000',
  },
}
SCSS
$custom: #a22978;
$custom-light: #c26f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22978",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 320.826,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.17525,
    "h": 345.4
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#A22978
secondary
#67C086
accent
#E37C45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22978

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

Preview Lab → · Contrast checker → · Palette generator →

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