#A22888#A22888

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

Color values

HEX#A22888
RGBrgb(162, 40, 136)
HSLhsl(313, 60%, 40%)
HSVhsv(313, 75%, 64%)
CMYKcmyk(0%, 75.3%, 16%, 36.5%)
CIE-LABlab(39.54, 58.49, -25.63)
CIE-LCHlch(39.54, 63.86, 336.34°)
OKLaboklab(50.36% 0.1732 -0.0695)
OKLCHoklch(50.36% 0.187 338.1)
XYZxyz(20.1035, 10.9785, 24.3481)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22888 #28A242
analogous
#7F28A2 #A22888 #A2284B
triadic
#A22888 #88A228 #2888A2
tetradic
#A22888 #A27F28 #28A242 #284BA2
square
#A22888 #A27F28 #28A242 #284BA2
split-complementary
#A22888 #4BA228 #28A27F
monochromatic
#401036 #711C5F #A22888 #CE39AE #DA6AC2

Accessibility & contrast

On white

6.57
#A22888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22888
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22888#FFFFFF#000000##FFFFFF
##A228881.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22888;
/* rgb */ color: rgb(162, 40, 136);
/* oklch */ color: oklch(50.4% 0.187 338.1);
Tailwind
colors: {
  custom: {
    50: '#c16fab',
    500: '#a22888',
    950: '#000000',
  },
}
SCSS
$custom: #a22888;
$custom-light: #c16fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22888",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 312.787,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.18662,
    "h": 338.1
  },
  "luminance": 0.10977
}

Semantic roles & 50–950 ramp

primary
#A22888
secondary
#65C179
accent
#E46644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22888

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

Preview Lab → · Contrast checker → · Palette generator →

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