#A22687#A22687

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

Color values

HEX#A22687
RGBrgb(162, 38, 135)
HSLhsl(313, 62%, 39%)
HSVhsv(313, 77%, 64%)
CMYKcmyk(0%, 76.5%, 16.7%, 36.5%)
CIE-LABlab(39.27, 58.98, -25.44)
CIE-LCHlch(39.27, 64.23, 336.67°)
OKLaboklab(50.15% 0.175 -0.069)
OKLCHoklch(50.15% 0.188 338.5)
XYZxyz(19.9671, 10.8188, 23.9536)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22687 #26A241
analogous
#7F26A2 #A22687 #A22649
triadic
#A22687 #87A226 #2687A2
tetradic
#A22687 #A27F26 #26A241 #2649A2
square
#A22687 #A27F26 #26A241 #2649A2
split-complementary
#A22687 #49A226 #26A27F
monochromatic
#3F0F34 #701A5E #A22687 #D035AE #DB67C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A22687#FFFFFF#000000##FFFFFF
##A226871.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)
#2D508A
Deuteranopia (green-blind)
#566384
Tritanopia (blue-blind)
#AB2C54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22687;
/* rgb */ color: rgb(162, 38, 135);
/* oklch */ color: oklch(50.1% 0.188 338.5);
Tailwind
colors: {
  custom: {
    50: '#c16eaa',
    500: '#a22687',
    950: '#000000',
  },
}
SCSS
$custom: #a22687;
$custom-light: #c16eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a22687",
  "rgb": {
    "r": 162,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 313.065,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.18808,
    "h": 338.5
  },
  "luminance": 0.10817
}

Semantic roles & 50–950 ramp

primary
#A22687
secondary
#63C177
accent
#E56643
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22687

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

Preview Lab → · Contrast checker → · Palette generator →

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