#A3278E#A3278E

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

Color values

HEX#A3278E
RGBrgb(163, 39, 142)
HSLhsl(310, 61%, 40%)
HSVhsv(310, 76%, 64%)
CMYKcmyk(0%, 76.1%, 12.9%, 36.1%)
CIE-LABlab(39.90, 59.93, -28.73)
CIE-LCHlch(39.90, 66.46, 334.39°)
OKLaboklab(50.74% 0.1757 -0.0784)
OKLCHoklch(50.74% 0.192 336)
XYZxyz(20.7126, 11.1925, 26.6554)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3278E #27A33C
analogous
#7A27A3 #A3278E #A32750
triadic
#A3278E #8EA327 #278EA3
tetradic
#A3278E #A37A27 #27A33C #2750A3
square
#A3278E #A37A27 #27A33C #2750A3
split-complementary
#A3278E #50A327 #27A37A
monochromatic
#400F38 #721B63 #A3278E #CF38B6 #DB69C8

Accessibility & contrast

On white

6.49
#A3278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A3278E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3278E#FFFFFF#000000##FFFFFF
##A3278E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#AC3058
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a3278e;
/* rgb */ color: rgb(163, 39, 142);
/* oklch */ color: oklch(50.7% 0.192 336.0);
Tailwind
colors: {
  custom: {
    50: '#c26faf',
    500: '#a3278e',
    950: '#000000',
  },
}
SCSS
$custom: #a3278e;
$custom-light: #c26faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a3278e",
  "rgb": {
    "r": 163,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 310.161,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50743,
    "c": 0.19243,
    "h": 336
  },
  "luminance": 0.11191
}

Semantic roles & 50–950 ramp

primary
#A3278E
secondary
#64C174
accent
#E45F43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3278E

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

Preview Lab → · Contrast checker → · Palette generator →

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