#A2288A#A2288A

#A2288A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.5% C 0.188 H 337.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A2288A
RGBrgb(162, 40, 138)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 64%)
CMYKcmyk(0%, 75.3%, 14.8%, 36.5%)
CIE-LABlab(39.64, 58.78, -26.70)
CIE-LCHlch(39.64, 64.56, 335.57°)
OKLaboklab(50.46% 0.1734 -0.0726)
OKLCHoklch(50.46% 0.188 337.3)
XYZxyz(20.2469, 11.0358, 25.1036)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2288A #28A240
analogous
#7D28A2 #A2288A #A2284D
triadic
#A2288A #8AA228 #288AA2
tetradic
#A2288A #A27D28 #28A240 #284DA2
square
#A2288A #A27D28 #28A240 #284DA2
split-complementary
#A2288A #4DA228 #28A27D
monochromatic
#401036 #711C60 #A2288A #CE39B1 #DA6AC4

Accessibility & contrast

On white

6.55
#A2288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A2288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2288A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2288A#FFFFFF#000000##FFFFFF
##A2288A1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2288a;
/* rgb */ color: rgb(162, 40, 138);
/* oklch */ color: oklch(50.5% 0.188 337.3);
Tailwind
colors: {
  custom: {
    50: '#c16fac',
    500: '#a2288a',
    950: '#000000',
  },
}
SCSS
$custom: #a2288a;
$custom-light: #c16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a2288a",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 311.803,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.188,
    "h": 337.3
  },
  "luminance": 0.11034
}

Semantic roles & 50–950 ramp

primary
#A2288A
secondary
#65C177
accent
#E46444
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2288A

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

Preview Lab → · Contrast checker → · Palette generator →

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