#A3287F#A3287F

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

Color values

HEX#A3287F
RGBrgb(163, 40, 127)
HSLhsl(318, 61%, 40%)
HSVhsv(318, 75%, 64%)
CMYKcmyk(0%, 75.5%, 22.1%, 36.1%)
CIE-LABlab(39.31, 57.48, -20.43)
CIE-LCHlch(39.31, 61.00, 340.43°)
OKLaboklab(50.08% 0.1729 -0.0548)
OKLCHoklch(50.08% 0.181 342.4)
XYZxyz(19.6945, 10.8385, 21.1294)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3287F #28A34C
analogous
#8A28A3 #A3287F #A32842
triadic
#A3287F #7FA328 #287FA3
tetradic
#A3287F #A38A28 #28A34C #2842A3
square
#A3287F #A38A28 #28A34C #2842A3
split-complementary
#A3287F #42A328 #28A38A
monochromatic
#411032 #721C59 #A3287F #CF3AA3 #DB6BBA

Accessibility & contrast

On white

6.63
#A3287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A3287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3287F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3287F#FFFFFF#000000##FFFFFF
##A3287F1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345081
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#AD2950
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3287f;
/* rgb */ color: rgb(163, 40, 127);
/* oklch */ color: oklch(50.1% 0.181 342.4);
Tailwind
colors: {
  custom: {
    50: '#c26fa4',
    500: '#a3287f',
    950: '#000000',
  },
}
SCSS
$custom: #a3287f;
$custom-light: #c26fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a3287f",
  "rgb": {
    "r": 163,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 317.561,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.18133,
    "h": 342.4
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#A3287F
secondary
#66C180
accent
#E47344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A3287F

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

Preview Lab → · Contrast checker → · Palette generator →

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