#A7278F#A7278F

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

Color values

HEX#A7278F
RGBrgb(167, 39, 143)
HSLhsl(311, 62%, 40%)
HSVhsv(311, 77%, 65%)
CMYKcmyk(0%, 76.6%, 14.4%, 34.5%)
CIE-LABlab(40.66, 61.01, -28.11)
CIE-LCHlch(40.66, 67.17, 335.26°)
OKLaboklab(51.43% 0.1798 -0.0765)
OKLCHoklch(51.43% 0.195 336.9)
XYZxyz(21.6202, 11.6517, 27.0916)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7278F #27A73F
analogous
#7F27A7 #A7278F #A7274F
triadic
#A7278F #8FA727 #278FA7
tetradic
#A7278F #A77F27 #27A73F #274FA7
square
#A7278F #A77F27 #27A73F #274FA7
split-complementary
#A7278F #4FA727 #27A77F
monochromatic
#44103A #751B65 #A7278F #D13AB5 #DD6CC7

Accessibility & contrast

On white

6.31
#A7278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A7278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7278F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7278F#FFFFFF#000000##FFFFFF
##A7278F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#B03059
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7278f;
/* rgb */ color: rgb(167, 39, 143);
/* oklch */ color: oklch(51.4% 0.195 336.9);
Tailwind
colors: {
  custom: {
    50: '#c56fb0',
    500: '#a7278f',
    950: '#000000',
  },
}
SCSS
$custom: #a7278f;
$custom-light: #c56fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7278f",
  "rgb": {
    "r": 167,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 311.25,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.19539,
    "h": 336.9
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#A7278F
secondary
#67C378
accent
#E56143
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7278F

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

Preview Lab → · Contrast checker → · Palette generator →

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