#8A276D#8A276D

#8A276D is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.154 H 341.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A276D
RGBrgb(138, 39, 109)
HSLhsl(318, 56%, 35%)
HSVhsv(318, 72%, 54%)
CMYKcmyk(0%, 71.7%, 21%, 45.9%)
CIE-LABlab(33.90, 48.77, -17.87)
CIE-LCHlch(33.90, 51.94, 339.88°)
OKLaboklab(45.05% 0.1461 -0.048)
OKLCHoklch(45.05% 0.154 341.8)
XYZxyz(13.9675, 7.9598, 15.2658)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A276D #278A44
analogous
#76278A #8A276D #8A273B
triadic
#8A276D #6D8A27 #276D8A
tetradic
#8A276D #8A7627 #278A44 #273B8A
square
#8A276D #8A7627 #278A44 #273B8A
split-complementary
#8A276D #3B8A27 #278A76
monochromatic
#2B0C22 #5A1A47 #8A276D #BA3493 #D15BAE

Accessibility & contrast

On white

8.10
#8A276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A276D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A276D#FFFFFF#000000##FFFFFF
##8A276D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#932846
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a276d;
/* rgb */ color: rgb(138, 39, 109);
/* oklch */ color: oklch(45.0% 0.154 341.8);
Tailwind
colors: {
  custom: {
    50: '#af6a97',
    500: '#8a276d',
    950: '#000000',
  },
}
SCSS
$custom: #8a276d;
$custom-light: #af6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a276d",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 317.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.15375,
    "h": 341.8
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#8A276D
secondary
#57B673
accent
#DF7549
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A276D

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

Preview Lab → · Contrast checker → · Palette generator →

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