#A8278A#A8278A

#A8278A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.193 H 339.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A8278A
RGBrgb(168, 39, 138)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 77%, 66%)
CMYKcmyk(0%, 76.8%, 17.9%, 34.1%)
CIE-LABlab(40.59, 60.53, -25.14)
CIE-LCHlch(40.59, 65.54, 337.45°)
OKLaboklab(51.35% 0.1802 -0.068)
OKLCHoklch(51.35% 0.193 339.3)
XYZxyz(21.4620, 11.6130, 25.1511)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8278A #27A845
analogous
#8527A8 #A8278A #A8274A
triadic
#A8278A #8AA827 #278AA8
tetradic
#A8278A #A88527 #27A845 #274AA8
square
#A8278A #A88527 #27A845 #274AA8
split-complementary
#A8278A #4AA827 #27A885
monochromatic
#451038 #761B61 #A8278A #D13BAE #DD6CC3

Accessibility & contrast

On white

6.32
#A8278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A8278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8278A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8278A#FFFFFF#000000##FFFFFF
##A8278A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#5A6787
Tritanopia (blue-blind)
#B22C56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8278a;
/* rgb */ color: rgb(168, 39, 138);
/* oklch */ color: oklch(51.3% 0.193 339.3);
Tailwind
colors: {
  custom: {
    50: '#c66fac',
    500: '#a8278a',
    950: '#000000',
  },
}
SCSS
$custom: #a8278a;
$custom-light: #c66fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8278a",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 313.953,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51345,
    "c": 0.19261,
    "h": 339.3
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#A8278A
secondary
#67C37D
accent
#E56842
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8278A

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

Preview Lab → · Contrast checker → · Palette generator →

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