#A22882#A22882

#A22882 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.183 H 340.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A22882
RGBrgb(162, 40, 130)
HSLhsl(316, 60%, 40%)
HSVhsv(316, 75%, 64%)
CMYKcmyk(0%, 75.3%, 19.8%, 36.5%)
CIE-LABlab(39.26, 57.64, -22.37)
CIE-LCHlch(39.26, 61.83, 338.79°)
OKLaboklab(50.06% 0.1724 -0.0603)
OKLCHoklch(50.06% 0.183 340.7)
XYZxyz(19.6889, 10.8126, 22.1649)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22882 #28A248
analogous
#8528A2 #A22882 #A22845
triadic
#A22882 #82A228 #2882A2
tetradic
#A22882 #A28528 #28A248 #2845A2
square
#A22882 #A28528 #28A248 #2845A2
split-complementary
#A22882 #45A228 #28A285
monochromatic
#401033 #711C5B #A22882 #CE39A7 #DA6ABD

Accessibility & contrast

On white

6.64
#A22882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A22882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22882
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22882#FFFFFF#000000##FFFFFF
##A228821.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#59637F
Tritanopia (blue-blind)
#AC2B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22882;
/* rgb */ color: rgb(162, 40, 130);
/* oklch */ color: oklch(50.1% 0.183 340.7);
Tailwind
colors: {
  custom: {
    50: '#c16fa6',
    500: '#a22882',
    950: '#000000',
  },
}
SCSS
$custom: #a22882;
$custom-light: #c16fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a22882",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 130
  },
  "hsl": {
    "h": 315.738,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.18261,
    "h": 340.7
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#A22882
secondary
#65C17D
accent
#E46E44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22882

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

Preview Lab → · Contrast checker → · Palette generator →

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