#A4288C#A4288C

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

Color values

HEX#A4288C
RGBrgb(164, 40, 140)
HSLhsl(312, 61%, 40%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 75.6%, 14.6%, 35.7%)
CIE-LABlab(40.09, 59.55, -27.20)
CIE-LCHlch(40.09, 65.47, 335.45°)
OKLaboklab(50.88% 0.1756 -0.074)
OKLCHoklch(50.88% 0.191 337.1)
XYZxyz(20.8027, 11.3055, 25.8924)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4288C #28A440
analogous
#7E28A4 #A4288C #A4284E
triadic
#A4288C #8CA428 #288CA4
tetradic
#A4288C #A47E28 #28A440 #284EA4
square
#A4288C #A47E28 #28A440 #284EA4
split-complementary
#A4288C #4EA428 #28A47E
monochromatic
#421038 #731C62 #A4288C #CF3AB2 #DB6BC5

Accessibility & contrast

On white

6.44
#A4288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A4288C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4288C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4288C#FFFFFF#000000##FFFFFF
##A4288C1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528F
Deuteranopia (green-blind)
#576589
Tritanopia (blue-blind)
#AD3057
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a4288c;
/* rgb */ color: rgb(164, 40, 140);
/* oklch */ color: oklch(50.9% 0.191 337.1);
Tailwind
colors: {
  custom: {
    50: '#c36fae',
    500: '#a4288c',
    950: '#000000',
  },
}
SCSS
$custom: #a4288c;
$custom-light: #c36fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4288c",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 311.613,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.19056,
    "h": 337.1
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#A4288C
secondary
#66C178
accent
#E46344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4288C

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

Preview Lab → · Contrast checker → · Palette generator →

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