#A4278D#A4278D

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

Color values

HEX#A4278D
RGBrgb(164, 39, 141)
HSLhsl(311, 62%, 40%)
HSVhsv(311, 76%, 64%)
CMYKcmyk(0%, 76.2%, 14%, 35.7%)
CIE-LABlab(40.03, 60.01, -27.91)
CIE-LCHlch(40.03, 66.19, 335.06°)
OKLaboklab(50.85% 0.1766 -0.076)
OKLCHoklch(50.85% 0.192 336.7)
XYZxyz(20.8435, 11.2686, 26.2715)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4278D #27A43E
analogous
#7D27A4 #A4278D #A4274F
triadic
#A4278D #8DA427 #278DA4
tetradic
#A4278D #A47D27 #27A43E #274FA4
square
#A4278D #A47D27 #27A43E #274FA4
split-complementary
#A4278D #4FA427 #27A47D
monochromatic
#410F38 #731B62 #A4278D #D038B4 #DC6AC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A4278D#FFFFFF#000000##FFFFFF
##A4278D1.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)
#2A5290
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#AD3058
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a4278d;
/* rgb */ color: rgb(164, 39, 141);
/* oklch */ color: oklch(50.9% 0.192 336.7);
Tailwind
colors: {
  custom: {
    50: '#c36fae',
    500: '#a4278d',
    950: '#000000',
  },
}
SCSS
$custom: #a4278d;
$custom-light: #c36fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4278d",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 311.04,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50851,
    "c": 0.1923,
    "h": 336.7
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#A4278D
secondary
#65C276
accent
#E56143
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4278D

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

Preview Lab → · Contrast checker → · Palette generator →

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