#A2287D#A2287D

#A2287D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.179 H 343.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A2287D
RGBrgb(162, 40, 125)
HSLhsl(318, 60%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 75.3%, 22.8%, 36.5%)
CIE-LABlab(39.04, 56.96, -19.62)
CIE-LCHlch(39.04, 60.24, 340.99°)
OKLaboklab(49.83% 0.1716 -0.0525)
OKLCHoklch(49.83% 0.179 343)
XYZxyz(19.3615, 10.6817, 20.4402)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2287D #28A24D
analogous
#8A28A2 #A2287D #A22840
triadic
#A2287D #7DA228 #287DA2
tetradic
#A2287D #A28A28 #28A24D #2840A2
square
#A2287D #A28A28 #28A24D #2840A2
split-complementary
#A2287D #40A228 #28A28A
monochromatic
#401031 #711C57 #A2287D #CE39A1 #DA6AB8

Accessibility & contrast

On white

6.70
#A2287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A2287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2287D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2287D#FFFFFF#000000##FFFFFF
##A2287D1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#AD284F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2287d;
/* rgb */ color: rgb(162, 40, 125);
/* oklch */ color: oklch(49.8% 0.179 343.0);
Tailwind
colors: {
  custom: {
    50: '#c16ea2',
    500: '#a2287d',
    950: '#000000',
  },
}
SCSS
$custom: #a2287d;
$custom-light: #c16ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2287d",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 318.197,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49826,
    "c": 0.17942,
    "h": 343
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#A2287D
secondary
#65C181
accent
#E47544
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2287D

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

Preview Lab → · Contrast checker → · Palette generator →

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