#A8277D#A8277D

#A8277D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.184 H 344.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A8277D
RGBrgb(168, 39, 125)
HSLhsl(320, 62%, 41%)
HSVhsv(320, 77%, 66%)
CMYKcmyk(0%, 76.8%, 25.6%, 34.1%)
CIE-LABlab(40.01, 58.79, -18.03)
CIE-LCHlch(40.01, 61.49, 342.95°)
OKLaboklab(50.74% 0.1781 -0.048)
OKLCHoklch(50.74% 0.184 344.9)
XYZxyz(20.5765, 11.2588, 20.4876)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8277D #27A852
analogous
#9227A8 #A8277D #A8273C
triadic
#A8277D #7DA827 #277DA8
tetradic
#A8277D #A89227 #27A852 #273CA8
square
#A8277D #A89227 #27A852 #273CA8
split-complementary
#A8277D #3CA827 #27A892
monochromatic
#451033 #761B58 #A8277D #D13B9F #DD6CB7

Accessibility & contrast

On white

6.46
#A8277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A8277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8277D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8277D#FFFFFF#000000##FFFFFF
##A8277D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507F
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#B3254F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a8277d;
/* rgb */ color: rgb(168, 39, 125);
/* oklch */ color: oklch(50.7% 0.184 344.9);
Tailwind
colors: {
  custom: {
    50: '#c66fa2',
    500: '#a8277d',
    950: '#000000',
  },
}
SCSS
$custom: #a8277d;
$custom-light: #c66fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8277d",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 320,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.18448,
    "h": 344.9
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#A8277D
secondary
#67C386
accent
#E57942
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #A8277D

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

Preview Lab → · Contrast checker → · Palette generator →

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