#A4278C#A4278C

#A4278C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.8% C 0.192 H 337.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A4278C
RGBrgb(164, 39, 140)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 76%, 64%)
CMYKcmyk(0%, 76.2%, 14.6%, 35.7%)
CIE-LABlab(39.98, 59.87, -27.37)
CIE-LCHlch(39.98, 65.83, 335.43°)
OKLaboklab(50.8% 0.1765 -0.0745)
OKLCHoklch(50.8% 0.192 337.1)
XYZxyz(20.7694, 11.2390, 25.8814)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4278C #27A43F
analogous
#7E27A4 #A4278C #A4274E
triadic
#A4278C #8CA427 #278CA4
tetradic
#A4278C #A47E27 #27A43F #274EA4
square
#A4278C #A47E27 #27A43F #274EA4
split-complementary
#A4278C #4EA427 #27A47E
monochromatic
#410F38 #731B62 #A4278C #D038B3 #DC6AC6

Accessibility & contrast

On white

6.47
#A4278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4278C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4278C#FFFFFF#000000##FFFFFF
##A4278C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4278c;
/* rgb */ color: rgb(164, 39, 140);
/* oklch */ color: oklch(50.8% 0.192 337.1);
Tailwind
colors: {
  custom: {
    50: '#c36fae',
    500: '#a4278c',
    950: '#000000',
  },
}
SCSS
$custom: #a4278c;
$custom-light: #c36fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a4278c",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 311.52,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.508,
    "c": 0.19161,
    "h": 337.1
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#A4278C
secondary
#65C277
accent
#E56243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4278C

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

Preview Lab → · Contrast checker → · Palette generator →

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