#A4278A#A4278A

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

Color values

HEX#A4278A
RGBrgb(164, 39, 138)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 76.2%, 15.9%, 35.7%)
CIE-LABlab(39.88, 59.58, -26.30)
CIE-LCHlch(39.88, 65.13, 336.18°)
OKLaboklab(50.7% 0.1763 -0.0714)
OKLCHoklch(50.7% 0.19 338)
XYZxyz(20.6233, 11.1805, 25.1117)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4278A #27A441
analogous
#8027A4 #A4278A #A4274C
triadic
#A4278A #8AA427 #278AA4
tetradic
#A4278A #A48027 #27A441 #274CA4
square
#A4278A #A48027 #27A441 #274CA4
split-complementary
#A4278A #4CA427 #27A480
monochromatic
#410F37 #731B60 #A4278A #D038B0 #DC6AC4

Accessibility & contrast

On white

6.49
#A4278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A4278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4278A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4278A#FFFFFF#000000##FFFFFF
##A4278A1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#AD2E56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a4278a;
/* rgb */ color: rgb(164, 39, 138);
/* oklch */ color: oklch(50.7% 0.190 338.0);
Tailwind
colors: {
  custom: {
    50: '#c36fac',
    500: '#a4278a',
    950: '#000000',
  },
}
SCSS
$custom: #a4278a;
$custom-light: #c36fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a4278a",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 312.48,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.19024,
    "h": 338
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#A4278A
secondary
#65C278
accent
#E56543
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4278A

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

Preview Lab → · Contrast checker → · Palette generator →

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