#A4278B#A4278B

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

Color values

HEX#A4278B
RGBrgb(164, 39, 139)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 76.2%, 15.2%, 35.7%)
CIE-LABlab(39.93, 59.72, -26.84)
CIE-LCHlch(39.93, 65.48, 335.80°)
OKLaboklab(50.75% 0.1764 -0.0729)
OKLCHoklch(50.75% 0.191 337.5)
XYZxyz(20.6960, 11.2096, 25.4948)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4278B #27A440
analogous
#7F27A4 #A4278B #A4274D
triadic
#A4278B #8BA427 #278BA4
tetradic
#A4278B #A47F27 #27A440 #274DA4
square
#A4278B #A47F27 #27A440 #274DA4
split-complementary
#A4278B #4DA427 #27A47F
monochromatic
#410F37 #731B61 #A4278B #D038B2 #DC6AC5

Accessibility & contrast

On white

6.48
#A4278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4278B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4278B#FFFFFF#000000##FFFFFF
##A4278B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4278b;
/* rgb */ color: rgb(164, 39, 139);
/* oklch */ color: oklch(50.7% 0.191 337.5);
Tailwind
colors: {
  custom: {
    50: '#c36fad',
    500: '#a4278b',
    950: '#000000',
  },
}
SCSS
$custom: #a4278b;
$custom-light: #c36fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4278b",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 312,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.19093,
    "h": 337.5
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A4278B

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

Preview Lab → · Contrast checker → · Palette generator →

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