#A8278E#A8278E

#A8278E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.195 H 337.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A8278E
RGBrgb(168, 39, 142)
HSLhsl(312, 62%, 41%)
HSVhsv(312, 77%, 66%)
CMYKcmyk(0%, 76.8%, 15.5%, 34.1%)
CIE-LABlab(40.79, 61.10, -27.28)
CIE-LCHlch(40.79, 66.91, 335.94°)
OKLaboklab(51.54% 0.1807 -0.0741)
OKLCHoklch(51.54% 0.195 337.7)
XYZxyz(21.7569, 11.7309, 26.7044)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8278E #27A841
analogous
#8127A8 #A8278E #A8274D
triadic
#A8278E #8EA827 #278EA8
tetradic
#A8278E #A88127 #27A841 #274DA8
square
#A8278E #A88127 #27A841 #274DA8
split-complementary
#A8278E #4DA827 #27A881
monochromatic
#45103A #761B64 #A8278E #D13BB3 #DD6CC6

Accessibility & contrast

On white

6.28
#A8278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A8278E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8278E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8278E#FFFFFF#000000##FFFFFF
##A8278E1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5491
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#B12F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8278e;
/* rgb */ color: rgb(168, 39, 142);
/* oklch */ color: oklch(51.5% 0.195 337.7);
Tailwind
colors: {
  custom: {
    50: '#c66faf',
    500: '#a8278e',
    950: '#000000',
  },
}
SCSS
$custom: #a8278e;
$custom-light: #c66faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8278e",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 312.093,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.19528,
    "h": 337.7
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#A8278E
secondary
#67C37A
accent
#E56342
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8278E

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

Preview Lab → · Contrast checker → · Palette generator →

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