#A3287B#A3287B

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

Color values

HEX#A3287B
RGBrgb(163, 40, 123)
HSLhsl(320, 61%, 40%)
HSVhsv(320, 75%, 64%)
CMYKcmyk(0%, 75.5%, 24.5%, 36.1%)
CIE-LABlab(39.13, 56.95, -18.22)
CIE-LCHlch(39.13, 59.79, 342.26°)
OKLaboklab(49.9% 0.1721 -0.0486)
OKLCHoklch(49.9% 0.179 344.2)
XYZxyz(19.4390, 10.7362, 19.7836)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3287B #28A350
analogous
#8D28A3 #A3287B #A3283E
triadic
#A3287B #7BA328 #287BA3
tetradic
#A3287B #A38D28 #28A350 #283EA3
square
#A3287B #A38D28 #28A350 #283EA3
split-complementary
#A3287B #3EA328 #28A38D
monochromatic
#411031 #721C56 #A3287B #CF3A9E #DB6BB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A3287B#FFFFFF#000000##FFFFFF
##A3287B1.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)
#364F7D
Deuteranopia (green-blind)
#5C6478
Tritanopia (blue-blind)
#AE274E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a3287b;
/* rgb */ color: rgb(163, 40, 123);
/* oklch */ color: oklch(49.9% 0.179 344.2);
Tailwind
colors: {
  custom: {
    50: '#c26ea1',
    500: '#a3287b',
    950: '#000000',
  },
}
SCSS
$custom: #a3287b;
$custom-light: #c26ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a3287b",
  "rgb": {
    "r": 163,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 319.512,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.17886,
    "h": 344.2
  },
  "luminance": 0.10734
}

Semantic roles & 50–950 ramp

primary
#A3287B
secondary
#66C183
accent
#E47844
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A3287B

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

Preview Lab → · Contrast checker → · Palette generator →

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