#A2288D#A2288D

#A2288D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.190 H 336.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A2288D
RGBrgb(162, 40, 141)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 75.3%, 13%, 36.5%)
CIE-LABlab(39.79, 59.23, -28.31)
CIE-LCHlch(39.79, 65.64, 334.45°)
OKLaboklab(50.61% 0.1737 -0.0772)
OKLCHoklch(50.61% 0.19 336)
XYZxyz(20.4671, 11.1239, 26.2633)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2288D #28A23D
analogous
#7A28A2 #A2288D #A22850
triadic
#A2288D #8DA228 #288DA2
tetradic
#A2288D #A27A28 #28A23D #2850A2
square
#A2288D #A27A28 #28A23D #2850A2
split-complementary
#A2288D #50A228 #28A27A
monochromatic
#401038 #711C62 #A2288D #CE39B4 #DA6AC7

Accessibility & contrast

On white

6.51
#A2288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A2288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2288D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2288D#FFFFFF#000000##FFFFFF
##A2288D1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#AA3158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2288d;
/* rgb */ color: rgb(162, 40, 141);
/* oklch */ color: oklch(50.6% 0.190 336.0);
Tailwind
colors: {
  custom: {
    50: '#c16fae',
    500: '#a2288d',
    950: '#000000',
  },
}
SCSS
$custom: #a2288d;
$custom-light: #c16fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2288d",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 310.328,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50612,
    "c": 0.1901,
    "h": 336
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#A2288D
secondary
#65C175
accent
#E46044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2288D

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

Preview Lab → · Contrast checker → · Palette generator →

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