#A4288B#A4288B

#A4288B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.190 H 337.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A4288B
RGBrgb(164, 40, 139)
HSLhsl(312, 61%, 40%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 75.6%, 15.2%, 35.7%)
CIE-LABlab(40.04, 59.41, -26.67)
CIE-LCHlch(40.04, 65.12, 335.83°)
OKLaboklab(50.83% 0.1755 -0.0725)
OKLCHoklch(50.83% 0.19 337.6)
XYZxyz(20.7293, 11.2761, 25.5059)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4288B #28A441
analogous
#7F28A4 #A4288B #A4284D
triadic
#A4288B #8BA428 #288BA4
tetradic
#A4288B #A47F28 #28A441 #284DA4
square
#A4288B #A47F28 #28A441 #284DA4
split-complementary
#A4288B #4DA428 #28A47F
monochromatic
#421038 #731C61 #A4288B #CF3AB1 #DB6BC4

Accessibility & contrast

On white

6.45
#A4288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4288B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4288B#FFFFFF#000000##FFFFFF
##A4288B1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528E
Deuteranopia (green-blind)
#576588
Tritanopia (blue-blind)
#AD2F57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a4288b;
/* rgb */ color: rgb(164, 40, 139);
/* oklch */ color: oklch(50.8% 0.190 337.6);
Tailwind
colors: {
  custom: {
    50: '#c36fad',
    500: '#a4288b',
    950: '#000000',
  },
}
SCSS
$custom: #a4288b;
$custom-light: #c36fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4288b",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 312.097,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.18986,
    "h": 337.6
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4288B

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

Preview Lab → · Contrast checker → · Palette generator →

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