#A22889#A22889

#A22889 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 337.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A22889
RGBrgb(162, 40, 137)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 64%)
CMYKcmyk(0%, 75.3%, 15.4%, 36.5%)
CIE-LABlab(39.59, 58.64, -26.17)
CIE-LCHlch(39.59, 64.21, 335.95°)
OKLaboklab(50.41% 0.1733 -0.0711)
OKLCHoklch(50.41% 0.187 337.7)
XYZxyz(20.1749, 11.0070, 24.7241)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22889 #28A241
analogous
#7E28A2 #A22889 #A2284C
triadic
#A22889 #89A228 #2889A2
tetradic
#A22889 #A27E28 #28A241 #284CA2
square
#A22889 #A27E28 #28A241 #284CA2
split-complementary
#A22889 #4CA228 #28A27E
monochromatic
#401036 #711C5F #A22889 #CE39B0 #DA6AC3

Accessibility & contrast

On white

6.56
#A22889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A22889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22889
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22889#FFFFFF#000000##FFFFFF
##A228891.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22889;
/* rgb */ color: rgb(162, 40, 137);
/* oklch */ color: oklch(50.4% 0.187 337.7);
Tailwind
colors: {
  custom: {
    50: '#c16fab',
    500: '#a22889',
    950: '#000000',
  },
}
SCSS
$custom: #a22889;
$custom-light: #c16fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22889",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 312.295,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.18731,
    "h": 337.7
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#A22889
secondary
#65C178
accent
#E46544
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22889

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

Preview Lab → · Contrast checker → · Palette generator →

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