#A2287F#A2287F

#A2287F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.181 H 342.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A2287F
RGBrgb(162, 40, 127)
HSLhsl(317, 60%, 40%)
HSVhsv(317, 75%, 64%)
CMYKcmyk(0%, 75.3%, 21.6%, 36.5%)
CIE-LABlab(39.13, 57.23, -20.73)
CIE-LCHlch(39.13, 60.87, 340.09°)
OKLaboklab(49.92% 0.1719 -0.0556)
OKLCHoklch(49.92% 0.181 342.1)
XYZxyz(19.4905, 10.7333, 21.1198)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2287F #28A24B
analogous
#8828A2 #A2287F #A22842
triadic
#A2287F #7FA228 #287FA2
tetradic
#A2287F #A28828 #28A24B #2842A2
square
#A2287F #A28828 #28A24B #2842A2
split-complementary
#A2287F #42A228 #28A288
monochromatic
#401032 #711C59 #A2287F #CE39A3 #DA6ABA

Accessibility & contrast

On white

6.67
#A2287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A2287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2287F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2287F#FFFFFF#000000##FFFFFF
##A2287F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#AC2A50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a2287f;
/* rgb */ color: rgb(162, 40, 127);
/* oklch */ color: oklch(49.9% 0.181 342.1);
Tailwind
colors: {
  custom: {
    50: '#c16ea4',
    500: '#a2287f',
    950: '#000000',
  },
}
SCSS
$custom: #a2287f;
$custom-light: #c16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2287f",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 317.213,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.18068,
    "h": 342.1
  },
  "luminance": 0.10731
}

Semantic roles & 50–950 ramp

primary
#A2287F
secondary
#65C17F
accent
#E47244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2287F

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

Preview Lab → · Contrast checker → · Palette generator →

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