#A6278E#A6278E

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

Color values

HEX#A6278E
RGBrgb(166, 39, 142)
HSLhsl(311, 62%, 40%)
HSVhsv(311, 77%, 65%)
CMYKcmyk(0%, 76.5%, 14.5%, 34.9%)
CIE-LABlab(40.43, 60.63, -27.86)
CIE-LCHlch(40.43, 66.72, 335.32°)
OKLaboklab(51.22% 0.1787 -0.0758)
OKLCHoklch(51.22% 0.194 337)
XYZxyz(21.3343, 11.5130, 26.6846)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6278E #27A63F
analogous
#7F27A6 #A6278E #A6274E
triadic
#A6278E #8EA627 #278EA6
tetradic
#A6278E #A67F27 #27A63F #274EA6
square
#A6278E #A67F27 #27A63F #274EA6
split-complementary
#A6278E #4EA627 #27A67F
monochromatic
#431039 #741B64 #A6278E #D13AB4 #DC6BC7

Accessibility & contrast

On white

6.36
#A6278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6278E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6278E#FFFFFF#000000##FFFFFF
##A6278E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AF2F58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6278e;
/* rgb */ color: rgb(166, 39, 142);
/* oklch */ color: oklch(51.2% 0.194 337.0);
Tailwind
colors: {
  custom: {
    50: '#c46faf',
    500: '#a6278e',
    950: '#000000',
  },
}
SCSS
$custom: #a6278e;
$custom-light: #c46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a6278e",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 311.339,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.19413,
    "h": 337
  },
  "luminance": 0.11511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6278E

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

Preview Lab → · Contrast checker → · Palette generator →

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