#A6277F#A6277F

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

Color values

HEX#A6277F
RGBrgb(166, 39, 127)
HSLhsl(318, 62%, 40%)
HSVhsv(318, 77%, 65%)
CMYKcmyk(0%, 76.5%, 23.5%, 34.9%)
CIE-LABlab(39.74, 58.55, -19.73)
CIE-LCHlch(39.74, 61.78, 341.38°)
OKLaboklab(50.49% 0.1767 -0.0528)
OKLCHoklch(50.49% 0.184 343.4)
XYZxyz(20.2829, 11.0925, 21.1475)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6277F #27A64E
analogous
#8D27A6 #A6277F #A62740
triadic
#A6277F #7FA627 #277FA6
tetradic
#A6277F #A68D27 #27A64E #2740A6
square
#A6277F #A68D27 #27A64E #2740A6
split-complementary
#A6277F #40A627 #27A68D
monochromatic
#431033 #741B59 #A6277F #D13AA2 #DC6BBA

Accessibility & contrast

On white

6.53
#A6277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A6277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6277F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6277F#FFFFFF#000000##FFFFFF
##A6277F1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#B12750
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6277f;
/* rgb */ color: rgb(166, 39, 127);
/* oklch */ color: oklch(50.5% 0.184 343.4);
Tailwind
colors: {
  custom: {
    50: '#c46fa4',
    500: '#a6277f',
    950: '#000000',
  },
}
SCSS
$custom: #a6277f;
$custom-light: #c46fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6277f",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 318.425,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.18437,
    "h": 343.4
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6277F

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

Preview Lab → · Contrast checker → · Palette generator →

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