#A4288E#A4288E

#A4288E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.192 H 336.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A4288E
RGBrgb(164, 40, 142)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 64%)
CMYKcmyk(0%, 75.6%, 13.4%, 35.7%)
CIE-LABlab(40.19, 59.85, -28.27)
CIE-LCHlch(40.19, 66.19, 334.72°)
OKLaboklab(50.98% 0.1758 -0.077)
OKLCHoklch(50.98% 0.192 336.3)
XYZxyz(20.9515, 11.3650, 26.6762)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4288E #28A43E
analogous
#7C28A4 #A4288E #A42850
triadic
#A4288E #8EA428 #288EA4
tetradic
#A4288E #A47C28 #28A43E #2850A4
square
#A4288E #A47C28 #28A43E #2850A4
split-complementary
#A4288E #50A428 #28A47C
monochromatic
#421039 #731C63 #A4288E #CF3AB5 #DB6BC7

Accessibility & contrast

On white

6.42
#A4288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A4288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4288E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4288E#FFFFFF#000000##FFFFFF
##A4288E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#AD3158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4288e;
/* rgb */ color: rgb(164, 40, 142);
/* oklch */ color: oklch(51.0% 0.192 336.3);
Tailwind
colors: {
  custom: {
    50: '#c36faf',
    500: '#a4288e',
    950: '#000000',
  },
}
SCSS
$custom: #a4288e;
$custom-light: #c36faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a4288e",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 310.645,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.19194,
    "h": 336.3
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#A4288E
secondary
#66C176
accent
#E46044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4288E

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

Preview Lab → · Contrast checker → · Palette generator →

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