#A4288A#A4288A

#A4288A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.8% C 0.189 H 338.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A4288A
RGBrgb(164, 40, 138)
HSLhsl(313, 61%, 40%)
HSVhsv(313, 76%, 64%)
CMYKcmyk(0%, 75.6%, 15.9%, 35.7%)
CIE-LABlab(39.99, 59.26, -26.13)
CIE-LCHlch(39.99, 64.77, 336.21°)
OKLaboklab(50.78% 0.1754 -0.0709)
OKLCHoklch(50.78% 0.189 338)
XYZxyz(20.6565, 11.2470, 25.1228)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4288A #28A442
analogous
#8028A4 #A4288A #A4284C
triadic
#A4288A #8AA428 #288AA4
tetradic
#A4288A #A48028 #28A442 #284CA4
square
#A4288A #A48028 #28A442 #284CA4
split-complementary
#A4288A #4CA428 #28A480
monochromatic
#421037 #731C61 #A4288A #CF3AB0 #DB6BC4

Accessibility & contrast

On white

6.46
#A4288A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A4288A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4288A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4288A#FFFFFF#000000##FFFFFF
##A4288A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#AD2F56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a4288a;
/* rgb */ color: rgb(164, 40, 138);
/* oklch */ color: oklch(50.8% 0.189 338.0);
Tailwind
colors: {
  custom: {
    50: '#c36fac',
    500: '#a4288a',
    950: '#000000',
  },
}
SCSS
$custom: #a4288a;
$custom-light: #c36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4288a",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 312.581,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.18918,
    "h": 338
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#A4288A
secondary
#66C179
accent
#E46544
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4288A

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

Preview Lab → · Contrast checker → · Palette generator →

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