#A6277B#A6277B

#A6277B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.182 H 345.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A6277B
RGBrgb(166, 39, 123)
HSLhsl(320, 62%, 40%)
HSVhsv(320, 77%, 65%)
CMYKcmyk(0%, 76.5%, 25.9%, 34.9%)
CIE-LABlab(39.56, 58.03, -17.51)
CIE-LCHlch(39.56, 60.62, 343.21°)
OKLaboklab(50.31% 0.1759 -0.0466)
OKLCHoklch(50.31% 0.182 345.2)
XYZxyz(20.0274, 10.9903, 19.8017)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6277B #27A652
analogous
#9127A6 #A6277B #A6273B
triadic
#A6277B #7BA627 #277BA6
tetradic
#A6277B #A69127 #27A652 #273BA6
square
#A6277B #A69127 #27A652 #273BA6
split-complementary
#A6277B #3BA627 #27A691
monochromatic
#431032 #741B56 #A6277B #D13A9D #DC6BB6

Accessibility & contrast

On white

6.57
#A6277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6277B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6277B#FFFFFF#000000##FFFFFF
##A6277B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6277b;
/* rgb */ color: rgb(166, 39, 123);
/* oklch */ color: oklch(50.3% 0.182 345.2);
Tailwind
colors: {
  custom: {
    50: '#c56ea1',
    500: '#a6277b',
    950: '#000000',
  },
}
SCSS
$custom: #a6277b;
$custom-light: #c56ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6277b",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 320.315,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50314,
    "c": 0.18196,
    "h": 345.2
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6277B

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

Preview Lab → · Contrast checker → · Palette generator →

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