#A4288F#A4288F

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

Color values

HEX#A4288F
RGBrgb(164, 40, 143)
HSLhsl(310, 61%, 40%)
HSVhsv(310, 76%, 64%)
CMYKcmyk(0%, 75.6%, 12.8%, 35.7%)
CIE-LABlab(40.24, 59.99, -28.80)
CIE-LCHlch(40.24, 66.55, 334.36°)
OKLaboklab(51.03% 0.1759 -0.0786)
OKLCHoklch(51.03% 0.193 335.9)
XYZxyz(21.0269, 11.3952, 27.0734)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4288F #28A43D
analogous
#7B28A4 #A4288F #A42851
triadic
#A4288F #8FA428 #288FA4
tetradic
#A4288F #A47B28 #28A43D #2851A4
square
#A4288F #A47B28 #28A43D #2851A4
split-complementary
#A4288F #51A428 #28A47B
monochromatic
#421039 #731C64 #A4288F #CF3AB6 #DB6BC8

Accessibility & contrast

On white

6.41
#A4288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A4288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4288F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4288F#FFFFFF#000000##FFFFFF
##A4288F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#56658C
Tritanopia (blue-blind)
#AD3159
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4288f;
/* rgb */ color: rgb(164, 40, 143);
/* oklch */ color: oklch(51.0% 0.193 335.9);
Tailwind
colors: {
  custom: {
    50: '#c36fb0',
    500: '#a4288f',
    950: '#000000',
  },
}
SCSS
$custom: #a4288f;
$custom-light: #c36fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4288f",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 310.161,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.19265,
    "h": 335.9
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#A4288F
secondary
#66C176
accent
#E45F44
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4288F

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

Preview Lab → · Contrast checker → · Palette generator →

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