#A8277A#A8277A

#A8277A is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.183 H 346.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A8277A
RGBrgb(168, 39, 122)
HSLhsl(321, 62%, 41%)
HSVhsv(321, 77%, 66%)
CMYKcmyk(0%, 76.8%, 27.4%, 34.1%)
CIE-LABlab(39.89, 58.41, -16.36)
CIE-LCHlch(39.89, 60.66, 344.35°)
OKLaboklab(50.6% 0.1775 -0.0434)
OKLCHoklch(50.6% 0.183 346.3)
XYZxyz(20.3878, 11.1833, 19.4935)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8277A #27A855
analogous
#9527A8 #A8277A #A8273A
triadic
#A8277A #7AA827 #277AA8
tetradic
#A8277A #A89527 #27A855 #273AA8
square
#A8277A #A89527 #27A855 #273AA8
split-complementary
#A8277A #3AA827 #27A895
monochromatic
#451032 #761B56 #A8277A #D13B9C #DD6CB5

Accessibility & contrast

On white

6.49
#A8277A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A8277A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8277A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8277A#FFFFFF#000000##FFFFFF
##A8277A1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#606677
Tritanopia (blue-blind)
#B4234D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8277a;
/* rgb */ color: rgb(168, 39, 122);
/* oklch */ color: oklch(50.6% 0.183 346.3);
Tailwind
colors: {
  custom: {
    50: '#c66fa0',
    500: '#a8277a',
    950: '#000000',
  },
}
SCSS
$custom: #a8277a;
$custom-light: #c66fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8277a",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 321.395,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50602,
    "c": 0.18274,
    "h": 346.3
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#A8277A
secondary
#67C388
accent
#E57D42
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A8277A

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

Preview Lab → · Contrast checker → · Palette generator →

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