#A4287E#A4287E

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

Color values

HEX#A4287E
RGBrgb(164, 40, 126)
HSLhsl(318, 61%, 40%)
HSVhsv(318, 76%, 64%)
CMYKcmyk(0%, 75.6%, 23.2%, 35.7%)
CIE-LABlab(39.44, 57.60, -19.59)
CIE-LCHlch(39.44, 60.84, 341.22°)
OKLaboklab(50.2% 0.1736 -0.0524)
OKLCHoklch(50.2% 0.181 343.2)
XYZxyz(19.8353, 10.9185, 20.7975)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4287E #28A44E
analogous
#8C28A4 #A4287E #A42840
triadic
#A4287E #7EA428 #287EA4
tetradic
#A4287E #A48C28 #28A44E #2840A4
square
#A4287E #A48C28 #28A44E #2840A4
split-complementary
#A4287E #40A428 #28A48C
monochromatic
#421032 #731C58 #A4287E #CF3AA1 #DB6BB9

Accessibility & contrast

On white

6.60
#A4287E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4287E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4287E#FFFFFF#000000##FFFFFF
##A4287E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355080
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#AF2850
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4287e;
/* rgb */ color: rgb(164, 40, 126);
/* oklch */ color: oklch(50.2% 0.181 343.2);
Tailwind
colors: {
  custom: {
    50: '#c36fa3',
    500: '#a4287e',
    950: '#000000',
  },
}
SCSS
$custom: #a4287e;
$custom-light: #c36fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a4287e",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 318.387,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.502,
    "c": 0.18136,
    "h": 343.2
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4287E

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

Preview Lab → · Contrast checker → · Palette generator →

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