#A22885#A22885

#A22885 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.185 H 339.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A22885
RGBrgb(162, 40, 133)
HSLhsl(314, 60%, 40%)
HSVhsv(314, 75%, 64%)
CMYKcmyk(0%, 75.3%, 17.9%, 36.5%)
CIE-LABlab(39.40, 58.06, -24.00)
CIE-LCHlch(39.40, 62.83, 337.54°)
OKLaboklab(50.21% 0.1728 -0.0649)
OKLCHoklch(50.21% 0.185 339.4)
XYZxyz(19.8932, 10.8944, 23.2409)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22885 #28A245
analogous
#8228A2 #A22885 #A22848
triadic
#A22885 #85A228 #2885A2
tetradic
#A22885 #A28228 #28A245 #2848A2
square
#A22885 #A28228 #28A245 #2848A2
split-complementary
#A22885 #48A228 #28A282
monochromatic
#401034 #711C5D #A22885 #CE39AB #DA6AC0

Accessibility & contrast

On white

6.61
#A22885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A22885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22885
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22885#FFFFFF#000000##FFFFFF
##A228851.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#586482
Tritanopia (blue-blind)
#AC2D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22885;
/* rgb */ color: rgb(162, 40, 133);
/* oklch */ color: oklch(50.2% 0.185 339.4);
Tailwind
colors: {
  custom: {
    50: '#c16fa8',
    500: '#a22885',
    950: '#000000',
  },
}
SCSS
$custom: #a22885;
$custom-light: #c16fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22885",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 314.262,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.1846,
    "h": 339.4
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#A22885
secondary
#65C17B
accent
#E46A44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22885

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

Preview Lab → · Contrast checker → · Palette generator →

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