#A22789#A22789

#A22789 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.188 H 337.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A22789
RGBrgb(162, 39, 137)
HSLhsl(312, 61%, 39%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 75.9%, 15.4%, 36.5%)
CIE-LABlab(39.48, 58.96, -26.34)
CIE-LCHlch(39.48, 64.57, 335.92°)
OKLaboklab(50.33% 0.1743 -0.0716)
OKLCHoklch(50.33% 0.188 337.7)
XYZxyz(20.1416, 10.9405, 24.7130)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22789 #27A240
analogous
#7E27A2 #A22789 #A2274C
triadic
#A22789 #89A227 #2789A2
tetradic
#A22789 #A27E27 #27A240 #274CA2
square
#A22789 #A27E27 #27A240 #274CA2
split-complementary
#A22789 #4CA227 #27A27E
monochromatic
#3F0F36 #711B5F #A22789 #CF37B0 #DB69C4

Accessibility & contrast

On white

6.59
#A22789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22789
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22789#FFFFFF#000000##FFFFFF
##A227891.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#566486
Tritanopia (blue-blind)
#AB2E55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22789;
/* rgb */ color: rgb(162, 39, 137);
/* oklch */ color: oklch(50.3% 0.188 337.7);
Tailwind
colors: {
  custom: {
    50: '#c16eab',
    500: '#a22789',
    950: '#000000',
  },
}
SCSS
$custom: #a22789;
$custom-light: #c16eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22789",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 312.195,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50325,
    "c": 0.18839,
    "h": 337.7
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#A22789
secondary
#64C177
accent
#E46443
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22789

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

Preview Lab → · Contrast checker → · Palette generator →

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