#A4287D#A4287D

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

Color values

HEX#A4287D
RGBrgb(164, 40, 125)
HSLhsl(319, 61%, 40%)
HSVhsv(319, 76%, 64%)
CMYKcmyk(0%, 75.6%, 23.8%, 35.7%)
CIE-LABlab(39.40, 57.47, -19.04)
CIE-LCHlch(39.40, 60.54, 341.67°)
OKLaboklab(50.15% 0.1734 -0.0509)
OKLCHoklch(50.15% 0.181 343.7)
XYZxyz(19.7711, 10.8929, 20.4594)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4287D #28A44F
analogous
#8D28A4 #A4287D #A4283F
triadic
#A4287D #7DA428 #287DA4
tetradic
#A4287D #A48D28 #28A44F #283FA4
square
#A4287D #A48D28 #28A44F #283FA4
split-complementary
#A4287D #3FA428 #28A48D
monochromatic
#421032 #731C57 #A4287D #CF3AA0 #DB6BB8

Accessibility & contrast

On white

6.61
#A4287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A4287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4287D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4287D#FFFFFF#000000##FFFFFF
##A4287D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#5C647A
Tritanopia (blue-blind)
#AF284F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4287d;
/* rgb */ color: rgb(164, 40, 125);
/* oklch */ color: oklch(50.2% 0.181 343.7);
Tailwind
colors: {
  custom: {
    50: '#c36fa2',
    500: '#a4287d',
    950: '#000000',
  },
}
SCSS
$custom: #a4287d;
$custom-light: #c36fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a4287d",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 318.871,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.18075,
    "h": 343.7
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#A4287D
secondary
#66C183
accent
#E47644
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A4287D

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

Preview Lab → · Contrast checker → · Palette generator →

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