#A4287F#A4287F

#A4287F is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.182 H 342.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A4287F
RGBrgb(164, 40, 127)
HSLhsl(318, 61%, 40%)
HSVhsv(318, 76%, 64%)
CMYKcmyk(0%, 75.6%, 22.6%, 35.7%)
CIE-LABlab(39.49, 57.73, -20.14)
CIE-LCHlch(39.49, 61.14, 340.77°)
OKLaboklab(50.25% 0.1738 -0.054)
OKLCHoklch(50.25% 0.182 342.7)
XYZxyz(19.9001, 10.9445, 21.1390)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4287F #28A44D
analogous
#8B28A4 #A4287F #A42841
triadic
#A4287F #7FA428 #287FA4
tetradic
#A4287F #A48B28 #28A44D #2841A4
square
#A4287F #A48B28 #28A44D #2841A4
split-complementary
#A4287F #41A428 #28A48B
monochromatic
#421033 #731C59 #A4287F #CF3AA3 #DB6BBA

Accessibility & contrast

On white

6.59
#A4287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A4287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4287F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4287F#FFFFFF#000000##FFFFFF
##A4287F1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#5C647C
Tritanopia (blue-blind)
#AF2950
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4287f;
/* rgb */ color: rgb(164, 40, 127);
/* oklch */ color: oklch(50.2% 0.182 342.7);
Tailwind
colors: {
  custom: {
    50: '#c36fa4',
    500: '#a4287f',
    950: '#000000',
  },
}
SCSS
$custom: #a4287f;
$custom-light: #c36fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4287f",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 317.903,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.18199,
    "h": 342.7
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4287F

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

Preview Lab → · Contrast checker → · Palette generator →

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