#A4287B#A4287B

#A4287B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.180 H 344.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A4287B
RGBrgb(164, 40, 123)
HSLhsl(320, 61%, 40%)
HSVhsv(320, 76%, 64%)
CMYKcmyk(0%, 75.6%, 25%, 35.7%)
CIE-LABlab(39.31, 57.20, -17.93)
CIE-LCHlch(39.31, 59.95, 342.60°)
OKLaboklab(50.06% 0.1731 -0.0478)
OKLCHoklch(50.06% 0.18 344.6)
XYZxyz(19.6446, 10.8423, 19.7933)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4287B #28A451
analogous
#8F28A4 #A4287B #A4283D
triadic
#A4287B #7BA428 #287BA4
tetradic
#A4287B #A48F28 #28A451 #283DA4
square
#A4287B #A48F28 #28A451 #283DA4
split-complementary
#A4287B #3DA428 #28A48F
monochromatic
#421031 #731C56 #A4287B #CF3A9E #DB6BB6

Accessibility & contrast

On white

6.63
#A4287B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A4287B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4287B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4287B#FFFFFF#000000##FFFFFF
##A4287B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#AF274E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a4287b;
/* rgb */ color: rgb(164, 40, 123);
/* oklch */ color: oklch(50.1% 0.180 344.6);
Tailwind
colors: {
  custom: {
    50: '#c36fa1',
    500: '#a4287b',
    950: '#000000',
  },
}
SCSS
$custom: #a4287b;
$custom-light: #c36fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a4287b",
  "rgb": {
    "r": 164,
    "g": 40,
    "b": 123
  },
  "hsl": {
    "h": 319.839,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.17953,
    "h": 344.6
  },
  "luminance": 0.1084
}

Semantic roles & 50–950 ramp

primary
#A4287B
secondary
#66C184
accent
#E47944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A4287B

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

Preview Lab → · Contrast checker → · Palette generator →

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