#A6278C#A6278C

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

Color values

HEX#A6278C
RGBrgb(166, 39, 140)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 77%, 65%)
CMYKcmyk(0%, 76.5%, 15.7%, 34.9%)
CIE-LABlab(40.33, 60.34, -26.79)
CIE-LCHlch(40.33, 66.02, 336.06°)
OKLaboklab(51.12% 0.1785 -0.0728)
OKLCHoklch(51.12% 0.193 337.8)
XYZxyz(21.1855, 11.4535, 25.9009)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6278C #27A641
analogous
#8027A6 #A6278C #A6274D
triadic
#A6278C #8CA627 #278CA6
tetradic
#A6278C #A68027 #27A641 #274DA6
square
#A6278C #A68027 #27A641 #274DA6
split-complementary
#A6278C #4DA627 #27A680
monochromatic
#431038 #741B62 #A6278C #D13AB2 #DC6BC5

Accessibility & contrast

On white

6.38
#A6278C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A6278C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6278C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6278C#FFFFFF#000000##FFFFFF
##A6278C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#AF2E57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6278c;
/* rgb */ color: rgb(166, 39, 140);
/* oklch */ color: oklch(51.1% 0.193 337.8);
Tailwind
colors: {
  custom: {
    50: '#c46fae',
    500: '#a6278c',
    950: '#000000',
  },
}
SCSS
$custom: #a6278c;
$custom-light: #c46fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6278c",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 312.283,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.19277,
    "h": 337.8
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6278C

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

Preview Lab → · Contrast checker → · Palette generator →

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