#A6278D#A6278D

#A6278D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.193 H 337.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A6278D
RGBrgb(166, 39, 141)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 76.5%, 15.1%, 34.9%)
CIE-LABlab(40.38, 60.48, -27.33)
CIE-LCHlch(40.38, 66.37, 335.68°)
OKLaboklab(51.17% 0.1786 -0.0743)
OKLCHoklch(51.17% 0.193 337.4)
XYZxyz(21.2596, 11.4831, 26.2910)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6278D #27A640
analogous
#7F27A6 #A6278D #A6274D
triadic
#A6278D #8DA627 #278DA6
tetradic
#A6278D #A67F27 #27A640 #274DA6
square
#A6278D #A67F27 #27A640 #274DA6
split-complementary
#A6278D #4DA627 #27A67F
monochromatic
#431039 #741B63 #A6278D #D13AB3 #DC6BC6

Accessibility & contrast

On white

6.37
#A6278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A6278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6278D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6278D#FFFFFF#000000##FFFFFF
##A6278D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AF2F58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6278d;
/* rgb */ color: rgb(166, 39, 141);
/* oklch */ color: oklch(51.2% 0.193 337.4);
Tailwind
colors: {
  custom: {
    50: '#c46fae',
    500: '#a6278d',
    950: '#000000',
  },
}
SCSS
$custom: #a6278d;
$custom-light: #c46fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6278d",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 311.811,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51172,
    "c": 0.19345,
    "h": 337.4
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#A6278D
secondary
#66C378
accent
#E56343
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6278D

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

Preview Lab → · Contrast checker → · Palette generator →

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