#A22488#A22488

#A22488 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 338.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#A22488
RGBrgb(162, 36, 136)
HSLhsl(312, 64%, 39%)
HSVhsv(312, 78%, 64%)
CMYKcmyk(0%, 77.8%, 16%, 36.5%)
CIE-LABlab(39.11, 59.73, -26.31)
CIE-LCHlch(39.11, 65.27, 336.23°)
OKLaboklab(50.04% 0.1769 -0.0714)
OKLCHoklch(50.04% 0.191 338)
XYZxyz(19.9756, 10.7226, 24.3054)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22488 #24A23E
analogous
#7D24A2 #A22488 #A22449
triadic
#A22488 #88A224 #2488A2
tetradic
#A22488 #A27D24 #24A23E #2449A2
square
#A22488 #A27D24 #24A23E #2449A2
split-complementary
#A22488 #49A224 #24A27D
monochromatic
#3E0E34 #70195E #A22488 #D132B0 #DD64C4

Accessibility & contrast

On white

6.68
#A22488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A22488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22488
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22488#FFFFFF#000000##FFFFFF
##A224881.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#556385
Tritanopia (blue-blind)
#AB2B54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a22488;
/* rgb */ color: rgb(162, 36, 136);
/* oklch */ color: oklch(50.0% 0.191 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16dab',
    500: '#a22488',
    950: '#000000',
  },
}
SCSS
$custom: #a22488;
$custom-light: #c16dab;
$custom-dark: #000000;
JSON
{
  "hex": "#a22488",
  "rgb": {
    "r": 162,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 312.381,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50042,
    "c": 0.19079,
    "h": 338
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#A22488
secondary
#60C274
accent
#E76341
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22488

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

Preview Lab → · Contrast checker → · Palette generator →

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