#A22684#A22684

#A22684 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.186 H 339.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A22684
RGBrgb(162, 38, 132)
HSLhsl(315, 62%, 39%)
HSVhsv(315, 77%, 64%)
CMYKcmyk(0%, 76.5%, 18.5%, 36.5%)
CIE-LABlab(39.13, 58.56, -23.81)
CIE-LCHlch(39.13, 63.21, 337.87°)
OKLaboklab(50% 0.1746 -0.0644)
OKLCHoklch(50% 0.186 339.8)
XYZxyz(19.7588, 10.7355, 22.8569)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22684 #26A244
analogous
#8226A2 #A22684 #A22646
triadic
#A22684 #84A226 #2684A2
tetradic
#A22684 #A28226 #26A244 #2646A2
square
#A22684 #A28226 #26A244 #2646A2
split-complementary
#A22684 #46A226 #26A282
monochromatic
#3F0F33 #701A5C #A22684 #D035AA #DB67BF

Accessibility & contrast

On white

6.67
#A22684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A22684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22684
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22684#FFFFFF#000000##FFFFFF
##A226841.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#AC2B52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22684;
/* rgb */ color: rgb(162, 38, 132);
/* oklch */ color: oklch(50.0% 0.186 339.8);
Tailwind
colors: {
  custom: {
    50: '#c16ea8',
    500: '#a22684',
    950: '#000000',
  },
}
SCSS
$custom: #a22684;
$custom-light: #c16ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22684",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 314.516,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.18608,
    "h": 339.8
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#A22684
secondary
#63C179
accent
#E56A43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A22684

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

Preview Lab → · Contrast checker → · Palette generator →

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