#A2288F#A2288F

#A2288F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.192 H 335.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A2288F
RGBrgb(162, 40, 143)
HSLhsl(309, 60%, 40%)
HSVhsv(309, 75%, 64%)
CMYKcmyk(0%, 75.3%, 11.7%, 36.5%)
CIE-LABlab(39.89, 59.52, -29.37)
CIE-LCHlch(39.89, 66.38, 333.73°)
OKLaboklab(50.72% 0.1739 -0.0803)
OKLCHoklch(50.72% 0.192 335.2)
XYZxyz(20.6173, 11.1840, 27.0542)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2288F #28A23B
analogous
#7828A2 #A2288F #A22852
triadic
#A2288F #8FA228 #288FA2
tetradic
#A2288F #A27828 #28A23B #2852A2
square
#A2288F #A27828 #28A23B #2852A2
split-complementary
#A2288F #52A228 #28A278
monochromatic
#401038 #711C64 #A2288F #CE39B7 #DA6AC9

Accessibility & contrast

On white

6.49
#A2288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A2288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2288F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2288F#FFFFFF#000000##FFFFFF
##A2288F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#54648C
Tritanopia (blue-blind)
#AA3259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2288f;
/* rgb */ color: rgb(162, 40, 143);
/* oklch */ color: oklch(50.7% 0.192 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16fb0',
    500: '#a2288f',
    950: '#000000',
  },
}
SCSS
$custom: #a2288f;
$custom-light: #c16fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2288f",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 309.344,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.19151,
    "h": 335.2
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#A2288F
secondary
#65C173
accent
#E45D44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2288F

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

Preview Lab → · Contrast checker → · Palette generator →

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