#A6278F#A6278F

#A6278F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.3% C 0.195 H 336.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A6278F
RGBrgb(166, 39, 143)
HSLhsl(311, 62%, 40%)
HSVhsv(311, 77%, 65%)
CMYKcmyk(0%, 76.5%, 13.9%, 34.9%)
CIE-LABlab(40.48, 60.77, -28.40)
CIE-LCHlch(40.48, 67.08, 334.96°)
OKLaboklab(51.28% 0.1788 -0.0774)
OKLCHoklch(51.28% 0.195 336.6)
XYZxyz(21.4097, 11.5432, 27.0818)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6278F #27A63E
analogous
#7D27A6 #A6278F #A62750
triadic
#A6278F #8FA627 #278FA6
tetradic
#A6278F #A67D27 #27A63E #2750A6
square
#A6278F #A67D27 #27A63E #2750A6
split-complementary
#A6278F #50A627 #27A67D
monochromatic
#43103A #741B64 #A6278F #D13AB5 #DC6BC8

Accessibility & contrast

On white

6.35
#A6278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A6278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6278F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6278F#FFFFFF#000000##FFFFFF
##A6278F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#AF3059
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6278f;
/* rgb */ color: rgb(166, 39, 143);
/* oklch */ color: oklch(51.3% 0.195 336.6);
Tailwind
colors: {
  custom: {
    50: '#c46fb0',
    500: '#a6278f',
    950: '#000000',
  },
}
SCSS
$custom: #a6278f;
$custom-light: #c46fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6278f",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 310.866,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.19482,
    "h": 336.6
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#A6278F
secondary
#66C377
accent
#E56043
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6278F

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

Preview Lab → · Contrast checker → · Palette generator →

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