#8A276C#8A276C

#8A276C is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.153 H 342.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8A276C
RGBrgb(138, 39, 108)
HSLhsl(318, 56%, 35%)
HSVhsv(318, 72%, 54%)
CMYKcmyk(0%, 71.7%, 21.7%, 45.9%)
CIE-LABlab(33.85, 48.63, -17.30)
CIE-LCHlch(33.85, 51.61, 340.42°)
OKLaboklab(45% 0.1459 -0.0464)
OKLCHoklch(45% 0.153 342.4)
XYZxyz(13.9140, 7.9384, 14.9839)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A276C #278A45
analogous
#77278A #8A276C #8A273B
triadic
#8A276C #6C8A27 #276C8A
tetradic
#8A276C #8A7727 #278A45 #273B8A
square
#8A276C #8A7727 #278A45 #273B8A
split-complementary
#8A276C #3B8A27 #278A77
monochromatic
#2B0C21 #5A1A47 #8A276C #BA3491 #D15BAD

Accessibility & contrast

On white

8.12
#8A276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A276C
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A276C#FFFFFF#000000##FFFFFF
##8A276C1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456E
Deuteranopia (green-blind)
#4E556A
Tritanopia (blue-blind)
#932846
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a276c;
/* rgb */ color: rgb(138, 39, 108);
/* oklch */ color: oklch(45.0% 0.153 342.4);
Tailwind
colors: {
  custom: {
    50: '#af6a96',
    500: '#8a276c',
    950: '#000000',
  },
}
SCSS
$custom: #8a276c;
$custom-light: #af6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a276c",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 318.182,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.15308,
    "h": 342.4
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#8A276C
secondary
#57B674
accent
#DF7649
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A276C

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

Preview Lab → · Contrast checker → · Palette generator →

#8A276C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva