#A4288D#A4288D

#A4288D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.191 H 336.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A4288D
RGBrgb(164, 40, 141)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 64%)
CMYKcmyk(0%, 75.6%, 14%, 35.7%)
CIE-LABlab(40.14, 59.70, -27.74)
CIE-LCHlch(40.14, 65.83, 335.08°)
OKLaboklab(50.93% 0.1757 -0.0755)
OKLCHoklch(50.93% 0.191 336.7)
XYZxyz(20.8767, 11.3351, 26.2825)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4288D #28A43F
analogous
#7D28A4 #A4288D #A4284F
triadic
#A4288D #8DA428 #288DA4
tetradic
#A4288D #A47D28 #28A43F #284FA4
square
#A4288D #A47D28 #28A43F #284FA4
split-complementary
#A4288D #4FA428 #28A47D
monochromatic
#421038 #731C63 #A4288D #CF3AB3 #DB6BC6

Accessibility & contrast

On white

6.43
#A4288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4288D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4288D#FFFFFF#000000##FFFFFF
##A4288D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AD3058
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4288d;
/* rgb */ color: rgb(164, 40, 141);
/* oklch */ color: oklch(50.9% 0.191 336.7);
Tailwind
colors: {
  custom: {
    50: '#c36fae',
    500: '#a4288d',
    950: '#000000',
  },
}
SCSS
$custom: #a4288d;
$custom-light: #c36fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4288d",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 311.129,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.19125,
    "h": 336.7
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#A4288D
secondary
#66C177
accent
#E46244
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4288D

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

Preview Lab → · Contrast checker → · Palette generator →

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