#A7278D#A7278D

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

Color values

HEX#A7278D
RGBrgb(167, 39, 141)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 76.6%, 15.6%, 34.5%)
CIE-LABlab(40.56, 60.72, -27.04)
CIE-LCHlch(40.56, 66.47, 336.00°)
OKLaboklab(51.33% 0.1796 -0.0735)
OKLCHoklch(51.33% 0.194 337.7)
XYZxyz(21.4701, 11.5917, 26.3008)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7278D #27A741
analogous
#8127A7 #A7278D #A7274D
triadic
#A7278D #8DA727 #278DA7
tetradic
#A7278D #A78127 #27A741 #274DA7
square
#A7278D #A78127 #27A741 #274DA7
split-complementary
#A7278D #4DA727 #27A781
monochromatic
#441039 #751B63 #A7278D #D13AB2 #DD6CC6

Accessibility & contrast

On white

6.33
#A7278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7278D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7278D#FFFFFF#000000##FFFFFF
##A7278D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#58678A
Tritanopia (blue-blind)
#B02F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7278d;
/* rgb */ color: rgb(167, 39, 141);
/* oklch */ color: oklch(51.3% 0.194 337.7);
Tailwind
colors: {
  custom: {
    50: '#c56fae',
    500: '#a7278d',
    950: '#000000',
  },
}
SCSS
$custom: #a7278d;
$custom-light: #c56fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7278d",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 312.188,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.19403,
    "h": 337.7
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7278D

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

Preview Lab → · Contrast checker → · Palette generator →

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