#A6277D#A6277D

#A6277D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.183 H 344.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A6277D
RGBrgb(166, 39, 125)
HSLhsl(319, 62%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 76.5%, 24.7%, 34.9%)
CIE-LABlab(39.65, 58.29, -18.62)
CIE-LCHlch(39.65, 61.19, 342.28°)
OKLaboklab(50.4% 0.1763 -0.0497)
OKLCHoklch(50.4% 0.183 344.3)
XYZxyz(20.1539, 11.0409, 20.4678)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6277D #27A650
analogous
#8F27A6 #A6277D #A6273E
triadic
#A6277D #7DA627 #277DA6
tetradic
#A6277D #A68F27 #27A650 #273EA6
square
#A6277D #A68F27 #27A650 #273EA6
split-complementary
#A6277D #3EA627 #27A68F
monochromatic
#431032 #741B58 #A6277D #D13AA0 #DC6BB8

Accessibility & contrast

On white

6.55
#A6277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A6277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6277D
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6277D#FFFFFF#000000##FFFFFF
##A6277D1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#B1264F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6277d;
/* rgb */ color: rgb(166, 39, 125);
/* oklch */ color: oklch(50.4% 0.183 344.3);
Tailwind
colors: {
  custom: {
    50: '#c56fa2',
    500: '#a6277d',
    950: '#000000',
  },
}
SCSS
$custom: #a6277d;
$custom-light: #c56fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6277d",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 319.37,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.18316,
    "h": 344.3
  },
  "luminance": 0.11039
}

Semantic roles & 50–950 ramp

primary
#A6277D
secondary
#66C384
accent
#E57743
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6277D

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

Preview Lab → · Contrast checker → · Palette generator →

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