#A22288#A22288

#A22288 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.193 H 338.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A22288
RGBrgb(162, 34, 136)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 79%, 64%)
CMYKcmyk(0%, 79%, 16%, 36.5%)
CIE-LABlab(38.91, 60.31, -26.62)
CIE-LCHlch(38.91, 65.93, 336.18°)
OKLaboklab(49.9% 0.1787 -0.0723)
OKLCHoklch(49.9% 0.193 338)
XYZxyz(19.9167, 10.6050, 24.2858)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22288 #22A23C
analogous
#7C22A2 #A22288 #A22248
triadic
#A22288 #88A222 #2288A2
tetradic
#A22288 #A27C22 #22A23C #2248A2
square
#A22288 #A27C22 #22A23C #2248A2
split-complementary
#A22288 #48A222 #22A27C
monochromatic
#3D0D33 #6F175E #A22288 #D32EB2 #DE61C4

Accessibility & contrast

On white

6.73
#A22288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A22288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22288
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22288#FFFFFF#000000##FFFFFF
##A222881.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8B
Deuteranopia (green-blind)
#556385
Tritanopia (blue-blind)
#AB2A54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22288;
/* rgb */ color: rgb(162, 34, 136);
/* oklch */ color: oklch(49.9% 0.193 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16dab',
    500: '#a22288',
    950: '#000000',
  },
}
SCSS
$custom: #a22288;
$custom-light: #c16dab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22288",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 312.188,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49897,
    "c": 0.19275,
    "h": 338
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#A22288
secondary
#5DC372
accent
#E86240
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22288

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

Preview Lab → · Contrast checker → · Palette generator →

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