#A2287B#A2287B

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

Color values

HEX#A2287B
RGBrgb(162, 40, 123)
HSLhsl(319, 60%, 40%)
HSVhsv(319, 75%, 64%)
CMYKcmyk(0%, 75.3%, 24.1%, 36.5%)
CIE-LABlab(38.95, 56.69, -18.51)
CIE-LCHlch(38.95, 59.64, 341.91°)
OKLaboklab(49.73% 0.1712 -0.0494)
OKLCHoklch(49.73% 0.178 343.9)
XYZxyz(19.2350, 10.6311, 19.7741)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2287B #28A24F
analogous
#8C28A2 #A2287B #A2283E
triadic
#A2287B #7BA228 #287BA2
tetradic
#A2287B #A28C28 #28A24F #283EA2
square
#A2287B #A28C28 #28A24F #283EA2
split-complementary
#A2287B #3EA228 #28A28C
monochromatic
#401030 #711C56 #A2287B #CE399E #DA6AB6

Accessibility & contrast

On white

6.72
#A2287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A2287B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2287B
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2287B#FFFFFF#000000##FFFFFF
##A2287B1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2287b;
/* rgb */ color: rgb(162, 40, 123);
/* oklch */ color: oklch(49.7% 0.178 343.9);
Tailwind
colors: {
  custom: {
    50: '#c16ea1',
    500: '#a2287b',
    950: '#000000',
  },
}
SCSS
$custom: #a2287b;
$custom-light: #c16ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2287b",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 319.18,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49734,
    "c": 0.17819,
    "h": 343.9
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#A2287B
secondary
#65C182
accent
#E47744
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A2287B

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

Preview Lab → · Contrast checker → · Palette generator →

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