#A7278E#A7278E

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

Color values

HEX#A7278E
RGBrgb(167, 39, 142)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 76.6%, 15%, 34.5%)
CIE-LABlab(40.61, 60.86, -27.57)
CIE-LCHlch(40.61, 66.82, 335.63°)
OKLaboklab(51.38% 0.1797 -0.075)
OKLCHoklch(51.38% 0.195 337.3)
XYZxyz(21.5448, 11.6216, 26.6945)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7278E #27A740
analogous
#8027A7 #A7278E #A7274E
triadic
#A7278E #8EA727 #278EA7
tetradic
#A7278E #A78027 #27A740 #274EA7
square
#A7278E #A78027 #27A740 #274EA7
split-complementary
#A7278E #4EA727 #27A780
monochromatic
#44103A #751B64 #A7278E #D13AB4 #DD6CC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7278E#FFFFFF#000000##FFFFFF
##A7278E1.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)
#2C5391
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#B02F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7278e;
/* rgb */ color: rgb(167, 39, 142);
/* oklch */ color: oklch(51.4% 0.195 337.3);
Tailwind
colors: {
  custom: {
    50: '#c56faf',
    500: '#a7278e',
    950: '#000000',
  },
}
SCSS
$custom: #a7278e;
$custom-light: #c56faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a7278e",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 311.719,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.1947,
    "h": 337.3
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#A7278E
secondary
#67C379
accent
#E56243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7278E

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

Preview Lab → · Contrast checker → · Palette generator →

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