#A6277E#A6277E

#A6277E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.184 H 343.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A6277E
RGBrgb(166, 39, 126)
HSLhsl(319, 62%, 40%)
HSVhsv(319, 77%, 65%)
CMYKcmyk(0%, 76.5%, 24.1%, 34.9%)
CIE-LABlab(39.69, 58.42, -19.18)
CIE-LCHlch(39.69, 61.49, 341.83°)
OKLaboklab(50.45% 0.1765 -0.0512)
OKLCHoklch(50.45% 0.184 343.8)
XYZxyz(20.2181, 11.0665, 20.8059)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6277E #27A64F
analogous
#8F27A6 #A6277E #A6273E
triadic
#A6277E #7EA627 #277EA6
tetradic
#A6277E #A68F27 #27A64F #273EA6
square
#A6277E #A68F27 #27A64F #273EA6
split-complementary
#A6277E #3EA627 #27A68F
monochromatic
#431033 #741B58 #A6277E #D13AA1 #DC6BB9

Accessibility & contrast

On white

6.54
#A6277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6277E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6277E#FFFFFF#000000##FFFFFF
##A6277E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B12650
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6277e;
/* rgb */ color: rgb(166, 39, 126);
/* oklch */ color: oklch(50.4% 0.184 343.8);
Tailwind
colors: {
  custom: {
    50: '#c46fa3',
    500: '#a6277e',
    950: '#000000',
  },
}
SCSS
$custom: #a6277e;
$custom-light: #c46fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6277e",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 318.898,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.18376,
    "h": 343.8
  },
  "luminance": 0.11064
}

Semantic roles & 50–950 ramp

primary
#A6277E
secondary
#66C383
accent
#E57643
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6277E

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

Preview Lab → · Contrast checker → · Palette generator →

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