#A4287A#A4287A

#A4287A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.179 H 345.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A4287A
RGBrgb(164, 40, 122)
HSLhsl(320, 61%, 40%)
HSVhsv(320, 76%, 64%)
CMYKcmyk(0%, 75.6%, 25.6%, 35.7%)
CIE-LABlab(39.27, 57.07, -17.37)
CIE-LCHlch(39.27, 59.66, 343.07°)
OKLaboklab(50.02% 0.1729 -0.0462)
OKLCHoklch(50.02% 0.179 345)
XYZxyz(19.5823, 10.8174, 19.4653)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4287A #28A452
analogous
#9028A4 #A4287A #A4283C
triadic
#A4287A #7AA428 #287AA4
tetradic
#A4287A #A49028 #28A452 #283CA4
square
#A4287A #A49028 #28A452 #283CA4
split-complementary
#A4287A #3CA428 #28A490
monochromatic
#421031 #731C55 #A4287A #CF3A9D #DB6BB5

Accessibility & contrast

On white

6.64
#A4287A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A4287A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4287A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4287A#FFFFFF#000000##FFFFFF
##A4287A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#AF264E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a4287a;
/* rgb */ color: rgb(164, 40, 122);
/* oklch */ color: oklch(50.0% 0.179 345.0);
Tailwind
colors: {
  custom: {
    50: '#c36fa0',
    500: '#a4287a',
    950: '#000000',
  },
}
SCSS
$custom: #a4287a;
$custom-light: #c36fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4287a",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 320.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.17893,
    "h": 345
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#A4287A
secondary
#66C185
accent
#E47A44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A4287A

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

Preview Lab → · Contrast checker → · Palette generator →

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