#A2288B#A2288B

#A2288B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.189 H 336.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A2288B
RGBrgb(162, 40, 139)
HSLhsl(311, 60%, 40%)
HSVhsv(311, 75%, 64%)
CMYKcmyk(0%, 75.3%, 14.2%, 36.5%)
CIE-LABlab(39.69, 58.93, -27.24)
CIE-LCHlch(39.69, 64.92, 335.19°)
OKLaboklab(50.51% 0.1735 -0.0741)
OKLCHoklch(50.51% 0.189 336.9)
XYZxyz(20.3197, 11.0649, 25.4867)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2288B #28A23F
analogous
#7C28A2 #A2288B #A2284E
triadic
#A2288B #8BA228 #288BA2
tetradic
#A2288B #A27C28 #28A23F #284EA2
square
#A2288B #A27C28 #28A23F #284EA2
split-complementary
#A2288B #4EA228 #28A27C
monochromatic
#401037 #711C61 #A2288B #CE39B2 #DA6AC5

Accessibility & contrast

On white

6.54
#A2288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2288B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2288B#FFFFFF#000000##FFFFFF
##A2288B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#AB3057
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a2288b;
/* rgb */ color: rgb(162, 40, 139);
/* oklch */ color: oklch(50.5% 0.189 336.9);
Tailwind
colors: {
  custom: {
    50: '#c16fad',
    500: '#a2288b',
    950: '#000000',
  },
}
SCSS
$custom: #a2288b;
$custom-light: #c16fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a2288b",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 311.311,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.18869,
    "h": 336.9
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#A2288B
secondary
#65C176
accent
#E46244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A2288B

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

Preview Lab → · Contrast checker → · Palette generator →

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