#A22878#A22878

#A22878 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.176 H 345.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A22878
RGBrgb(162, 40, 120)
HSLhsl(321, 60%, 40%)
HSVhsv(321, 75%, 64%)
CMYKcmyk(0%, 75.3%, 25.9%, 36.5%)
CIE-LABlab(38.82, 56.30, -16.84)
CIE-LCHlch(38.82, 58.76, 343.34°)
OKLaboklab(49.6% 0.1706 -0.0448)
OKLCHoklch(49.6% 0.176 345.3)
XYZxyz(19.0501, 10.5571, 18.8001)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22878 #28A252
analogous
#8F28A2 #A22878 #A2283B
triadic
#A22878 #78A228 #2878A2
tetradic
#A22878 #A28F28 #28A252 #283BA2
square
#A22878 #A28F28 #28A252 #283BA2
split-complementary
#A22878 #3BA228 #28A28F
monochromatic
#40102F #711C54 #A22878 #CE399B #DA6AB4

Accessibility & contrast

On white

6.75
#A22878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A22878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22878
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22878#FFFFFF#000000##FFFFFF
##A228781.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22878;
/* rgb */ color: rgb(162, 40, 120);
/* oklch */ color: oklch(49.6% 0.176 345.3);
Tailwind
colors: {
  custom: {
    50: '#c26e9f',
    500: '#a22878',
    950: '#000000',
  },
}
SCSS
$custom: #a22878;
$custom-light: #c26e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a22878",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 320.656,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.17638,
    "h": 345.3
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#A22878
secondary
#65C185
accent
#E47B44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A22878

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

Preview Lab → · Contrast checker → · Palette generator →

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