#A3278C#A3278C

#A3278C is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.191 H 336.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A3278C
RGBrgb(163, 39, 140)
HSLhsl(311, 61%, 40%)
HSVhsv(311, 76%, 64%)
CMYKcmyk(0%, 76.1%, 14.1%, 36.1%)
CIE-LABlab(39.80, 59.63, -27.66)
CIE-LCHlch(39.80, 65.74, 335.11°)
OKLaboklab(50.64% 0.1756 -0.0753)
OKLCHoklch(50.64% 0.191 336.8)
XYZxyz(20.5638, 11.1329, 25.8717)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3278C #27A33E
analogous
#7C27A3 #A3278C #A3274E
triadic
#A3278C #8CA327 #278CA3
tetradic
#A3278C #A37C27 #27A33E #274EA3
square
#A3278C #A37C27 #27A33E #274EA3
split-complementary
#A3278C #4EA327 #27A37C
monochromatic
#400F37 #721B62 #A3278C #CF38B3 #DB69C6

Accessibility & contrast

On white

6.51
#A3278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A3278C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3278C
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3278C#FFFFFF#000000##FFFFFF
##A3278C1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#566489
Tritanopia (blue-blind)
#AC2F57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a3278c;
/* rgb */ color: rgb(163, 39, 140);
/* oklch */ color: oklch(50.6% 0.191 336.8);
Tailwind
colors: {
  custom: {
    50: '#c26fae',
    500: '#a3278c',
    950: '#000000',
  },
}
SCSS
$custom: #a3278c;
$custom-light: #c26fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a3278c",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 311.129,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.19103,
    "h": 336.8
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#A3278C
secondary
#64C176
accent
#E46143
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3278C

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

Preview Lab → · Contrast checker → · Palette generator →

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