#A6277C#A6277C

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

Color values

HEX#A6277C
RGBrgb(166, 39, 124)
HSLhsl(320, 62%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 76.5%, 25.3%, 34.9%)
CIE-LABlab(39.61, 58.16, -18.07)
CIE-LCHlch(39.61, 60.90, 342.74°)
OKLaboklab(50.36% 0.1761 -0.0481)
OKLCHoklch(50.36% 0.183 344.7)
XYZxyz(20.0903, 11.0154, 20.1330)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6277C #27A651
analogous
#9127A6 #A6277C #A6273C
triadic
#A6277C #7CA627 #277CA6
tetradic
#A6277C #A69127 #27A651 #273CA6
square
#A6277C #A69127 #27A651 #273CA6
split-complementary
#A6277C #3CA627 #27A691
monochromatic
#431032 #741B57 #A6277C #D13A9F #DC6BB7

Accessibility & contrast

On white

6.56
#A6277C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A6277C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6277C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6277C#FFFFFF#000000##FFFFFF
##A6277C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B1254E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6277c;
/* rgb */ color: rgb(166, 39, 124);
/* oklch */ color: oklch(50.4% 0.183 344.7);
Tailwind
colors: {
  custom: {
    50: '#c56fa2',
    500: '#a6277c',
    950: '#000000',
  },
}
SCSS
$custom: #a6277c;
$custom-light: #c56fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6277c",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 319.843,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.18256,
    "h": 344.7
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#A6277C
secondary
#66C385
accent
#E57843
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A6277C

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

Preview Lab → · Contrast checker → · Palette generator →

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