#A3287E#A3287E

#A3287E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.181 H 342.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A3287E
RGBrgb(163, 40, 126)
HSLhsl(318, 61%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 75.5%, 22.7%, 36.1%)
CIE-LABlab(39.26, 57.35, -19.88)
CIE-LCHlch(39.26, 60.70, 340.88°)
OKLaboklab(50.04% 0.1727 -0.0533)
OKLCHoklch(50.04% 0.181 342.9)
XYZxyz(19.6297, 10.8125, 20.7879)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3287E #28A34D
analogous
#8B28A3 #A3287E #A32840
triadic
#A3287E #7EA328 #287EA3
tetradic
#A3287E #A38B28 #28A34D #2840A3
square
#A3287E #A38B28 #28A34D #2840A3
split-complementary
#A3287E #40A328 #28A38B
monochromatic
#411032 #721C58 #A3287E #CF3AA2 #DB6BB9

Accessibility & contrast

On white

6.64
#A3287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A3287E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3287E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3287E#FFFFFF#000000##FFFFFF
##A3287E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#AE2950
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a3287e;
/* rgb */ color: rgb(163, 40, 126);
/* oklch */ color: oklch(50.0% 0.181 342.9);
Tailwind
colors: {
  custom: {
    50: '#c26fa3',
    500: '#a3287e',
    950: '#000000',
  },
}
SCSS
$custom: #a3287e;
$custom-light: #c26fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a3287e",
  "rgb": {
    "r": 163,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 318.049,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50036,
    "c": 0.18071,
    "h": 342.9
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#A3287E
secondary
#66C181
accent
#E47444
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A3287E

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

Preview Lab → · Contrast checker → · Palette generator →

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