#A4278F#A4278F

#A4278F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 51.0% C 0.194 H 335.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A4278F
RGBrgb(164, 39, 143)
HSLhsl(310, 62%, 40%)
HSVhsv(310, 76%, 64%)
CMYKcmyk(0%, 76.2%, 12.8%, 35.7%)
CIE-LABlab(40.13, 60.31, -28.97)
CIE-LCHlch(40.13, 66.91, 334.34°)
OKLaboklab(50.96% 0.1768 -0.0791)
OKLCHoklch(50.96% 0.194 335.9)
XYZxyz(20.9936, 11.3286, 27.0623)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4278F #27A43C
analogous
#7B27A4 #A4278F #A42751
triadic
#A4278F #8FA427 #278FA4
tetradic
#A4278F #A47B27 #27A43C #2751A4
square
#A4278F #A47B27 #27A43C #2751A4
split-complementary
#A4278F #51A427 #27A47B
monochromatic
#410F39 #731B64 #A4278F #D038B6 #DC6AC8

Accessibility & contrast

On white

6.43
#A4278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A4278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4278F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4278F#FFFFFF#000000##FFFFFF
##A4278F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#AD3159
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4278f;
/* rgb */ color: rgb(164, 39, 143);
/* oklch */ color: oklch(51.0% 0.194 335.9);
Tailwind
colors: {
  custom: {
    50: '#c36fb0',
    500: '#a4278f',
    950: '#000000',
  },
}
SCSS
$custom: #a4278f;
$custom-light: #c36fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4278f",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 310.08,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.19369,
    "h": 335.9
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#A4278F
secondary
#65C275
accent
#E55E43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4278F

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

Preview Lab → · Contrast checker → · Palette generator →

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