#A22189#A22189

#A22189 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.194 H 337.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A22189
RGBrgb(162, 33, 137)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 80%, 64%)
CMYKcmyk(0%, 79.6%, 15.4%, 36.5%)
CIE-LABlab(38.86, 60.73, -27.31)
CIE-LCHlch(38.86, 66.59, 335.79°)
OKLaboklab(49.88% 0.1796 -0.0743)
OKLCHoklch(49.88% 0.194 337.5)
XYZxyz(19.9599, 10.5772, 24.6525)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22189 #21A23A
analogous
#7A21A2 #A22189 #A22148
triadic
#A22189 #89A221 #2189A2
tetradic
#A22189 #A27A21 #21A23A #2148A2
square
#A22189 #A27A21 #21A23A #2148A2
split-complementary
#A22189 #48A221 #21A27A
monochromatic
#3C0C33 #6F175E #A22189 #D42CB4 #DE5FC6

Accessibility & contrast

On white

6.74
#A22189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22189
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22189#FFFFFF#000000##FFFFFF
##A221891.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#546286
Tritanopia (blue-blind)
#AB2A54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a22189;
/* rgb */ color: rgb(162, 33, 137);
/* oklch */ color: oklch(49.9% 0.194 337.5);
Tailwind
colors: {
  custom: {
    50: '#c16cab',
    500: '#a22189',
    950: '#000000',
  },
}
SCSS
$custom: #a22189;
$custom-light: #c16cab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22189",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 311.628,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49878,
    "c": 0.19437,
    "h": 337.5
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#A22189
secondary
#5CC370
accent
#E9603F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22189

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

Preview Lab → · Contrast checker → · Palette generator →

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