#A2288E#A2288E

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

Color values

HEX#A2288E
RGBrgb(162, 40, 142)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 75.3%, 12.3%, 36.5%)
CIE-LABlab(39.84, 59.37, -28.84)
CIE-LCHlch(39.84, 66.01, 334.09°)
OKLaboklab(50.66% 0.1738 -0.0787)
OKLCHoklch(50.66% 0.191 335.6)
XYZxyz(20.5419, 11.1538, 26.6570)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2288E #28A23C
analogous
#7928A2 #A2288E #A22851
triadic
#A2288E #8EA228 #288EA2
tetradic
#A2288E #A27928 #28A23C #2851A2
square
#A2288E #A27928 #28A23C #2851A2
split-complementary
#A2288E #51A228 #28A279
monochromatic
#401038 #711C63 #A2288E #CE39B6 #DA6AC8

Accessibility & contrast

On white

6.50
#A2288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A2288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2288E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2288E#FFFFFF#000000##FFFFFF
##A2288E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#AA3258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2288e;
/* rgb */ color: rgb(162, 40, 142);
/* oklch */ color: oklch(50.7% 0.191 335.6);
Tailwind
colors: {
  custom: {
    50: '#c16faf',
    500: '#a2288e',
    950: '#000000',
  },
}
SCSS
$custom: #a2288e;
$custom-light: #c16faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a2288e",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 309.836,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50664,
    "c": 0.1908,
    "h": 335.6
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#A2288E
secondary
#65C174
accent
#E45E44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2288E

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

Preview Lab → · Contrast checker → · Palette generator →

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