#A22786#A22786

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

Color values

HEX#A22786
RGBrgb(162, 39, 134)
HSLhsl(314, 61%, 39%)
HSVhsv(314, 76%, 64%)
CMYKcmyk(0%, 75.9%, 17.3%, 36.5%)
CIE-LABlab(39.34, 58.53, -24.72)
CIE-LCHlch(39.34, 63.53, 337.10°)
OKLaboklab(50.18% 0.1739 -0.067)
OKLCHoklch(50.18% 0.186 338.9)
XYZxyz(19.9294, 10.8556, 23.5954)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22786 #27A243
analogous
#8127A2 #A22786 #A22748
triadic
#A22786 #86A227 #2786A2
tetradic
#A22786 #A28127 #27A243 #2748A2
square
#A22786 #A28127 #27A243 #2748A2
split-complementary
#A22786 #48A227 #27A281
monochromatic
#3F0F34 #711B5D #A22786 #CF37AC #DB69C1

Accessibility & contrast

On white

6.62
#A22786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A22786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22786
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22786#FFFFFF#000000##FFFFFF
##A227861.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5089
Deuteranopia (green-blind)
#576483
Tritanopia (blue-blind)
#AB2D54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22786;
/* rgb */ color: rgb(162, 39, 134);
/* oklch */ color: oklch(50.2% 0.186 338.9);
Tailwind
colors: {
  custom: {
    50: '#c16ea9',
    500: '#a22786',
    950: '#000000',
  },
}
SCSS
$custom: #a22786;
$custom-light: #c16ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#a22786",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 313.659,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.18635,
    "h": 338.9
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#A22786
secondary
#64C179
accent
#E46843
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22786

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

Preview Lab → · Contrast checker → · Palette generator →

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