#A2287A#A2287A

#A2287A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.178 H 344.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A2287A
RGBrgb(162, 40, 122)
HSLhsl(320, 60%, 40%)
HSVhsv(320, 75%, 64%)
CMYKcmyk(0%, 75.3%, 24.7%, 36.5%)
CIE-LABlab(38.91, 56.56, -17.96)
CIE-LCHlch(38.91, 59.34, 342.38°)
OKLaboklab(49.69% 0.171 -0.0479)
OKLCHoklch(49.69% 0.178 344.4)
XYZxyz(19.1727, 10.6062, 19.4461)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2287A #28A250
analogous
#8D28A2 #A2287A #A2283D
triadic
#A2287A #7AA228 #287AA2
tetradic
#A2287A #A28D28 #28A250 #283DA2
square
#A2287A #A28D28 #28A250 #283DA2
split-complementary
#A2287A #3DA228 #28A28D
monochromatic
#401030 #711C55 #A2287A #CE399D #DA6AB5

Accessibility & contrast

On white

6.73
#A2287A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A2287A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2287A
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2287A#FFFFFF#000000##FFFFFF
##A2287A1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#AD274E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2287a;
/* rgb */ color: rgb(162, 40, 122);
/* oklch */ color: oklch(49.7% 0.178 344.4);
Tailwind
colors: {
  custom: {
    50: '#c26ea0',
    500: '#a2287a',
    950: '#000000',
  },
}
SCSS
$custom: #a2287a;
$custom-light: #c26ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2287a",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 319.672,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.17758,
    "h": 344.4
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#A2287A
secondary
#65C183
accent
#E47844
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A2287A

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

Preview Lab → · Contrast checker → · Palette generator →

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