#8D276A#8D276A

#8D276A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.154 H 344.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8D276A
RGBrgb(141, 39, 106)
HSLhsl(321, 57%, 35%)
HSVhsv(321, 72%, 55%)
CMYKcmyk(0%, 72.3%, 24.8%, 44.7%)
CIE-LABlab(34.31, 49.17, -15.29)
CIE-LCHlch(34.31, 51.49, 342.73°)
OKLaboklab(45.4% 0.1485 -0.0407)
OKLCHoklch(45.4% 0.154 344.7)
XYZxyz(14.3121, 8.1559, 14.4534)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D276A #278D4A
analogous
#7D278D #8D276A #8D2737
triadic
#8D276A #6A8D27 #276A8D
tetradic
#8D276A #8D7D27 #278D4A #27378D
square
#8D276A #8D7D27 #278D4A #27378D
split-complementary
#8D276A #378D27 #278D7D
monochromatic
#2D0C22 #5D1A46 #8D276A #BD348E #D25CAA

Accessibility & contrast

On white

7.98
#8D276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8D276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D276A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D276A#FFFFFF#000000##FFFFFF
##8D276A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#962645
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d276a;
/* rgb */ color: rgb(141, 39, 106);
/* oklch */ color: oklch(45.4% 0.154 344.7);
Tailwind
colors: {
  custom: {
    50: '#b26a94',
    500: '#8d276a',
    950: '#000000',
  },
}
SCSS
$custom: #8d276a;
$custom-light: #b26a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8d276a",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 320.588,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.15398,
    "h": 344.7
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#8D276A
secondary
#59B779
accent
#E07C48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D276A

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

Preview Lab → · Contrast checker → · Palette generator →

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