#A8277E#A8277E

#A8277E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.185 H 344.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A8277E
RGBrgb(168, 39, 126)
HSLhsl(320, 62%, 41%)
HSVhsv(320, 77%, 66%)
CMYKcmyk(0%, 76.8%, 25%, 34.1%)
CIE-LABlab(40.06, 58.92, -18.59)
CIE-LCHlch(40.06, 61.78, 342.49°)
OKLaboklab(50.78% 0.1783 -0.0496)
OKLCHoklch(50.78% 0.185 344.5)
XYZxyz(20.6407, 11.2845, 20.8257)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8277E #27A851
analogous
#9127A8 #A8277E #A8273D
triadic
#A8277E #7EA827 #277EA8
tetradic
#A8277E #A89127 #27A851 #273DA8
square
#A8277E #A89127 #27A851 #273DA8
split-complementary
#A8277E #3DA827 #27A891
monochromatic
#451033 #761B59 #A8277E #D13BA0 #DD6CB8

Accessibility & contrast

On white

6.45
#A8277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A8277E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8277E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8277E#FFFFFF#000000##FFFFFF
##A8277E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5F667B
Tritanopia (blue-blind)
#B32650
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8277e;
/* rgb */ color: rgb(168, 39, 126);
/* oklch */ color: oklch(50.8% 0.185 344.5);
Tailwind
colors: {
  custom: {
    50: '#c66fa3',
    500: '#a8277e',
    950: '#000000',
  },
}
SCSS
$custom: #a8277e;
$custom-light: #c66fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8277e",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 319.535,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.18508,
    "h": 344.5
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#A8277E
secondary
#67C385
accent
#E57742
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8277E

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

Preview Lab → · Contrast checker → · Palette generator →

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