#8D276B#8D276B

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

Color values

HEX#8D276B
RGBrgb(141, 39, 107)
HSLhsl(320, 57%, 35%)
HSVhsv(320, 72%, 55%)
CMYKcmyk(0%, 72.3%, 24.1%, 44.7%)
CIE-LABlab(34.35, 49.31, -15.86)
CIE-LCHlch(34.35, 51.80, 342.17°)
OKLaboklab(45.45% 0.1487 -0.0423)
OKLCHoklch(45.45% 0.155 344.1)
XYZxyz(14.3644, 8.1768, 14.7289)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D276B #278D49
analogous
#7C278D #8D276B #8D2738
triadic
#8D276B #6B8D27 #276B8D
tetradic
#8D276B #8D7C27 #278D49 #27388D
square
#8D276B #8D7C27 #278D49 #27388D
split-complementary
#8D276B #388D27 #278D7C
monochromatic
#2D0C22 #5D1A47 #8D276B #BD348F #D25CAB

Accessibility & contrast

On white

7.97
#8D276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D276B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D276B#FFFFFF#000000##FFFFFF
##8D276B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d276b;
/* rgb */ color: rgb(141, 39, 107);
/* oklch */ color: oklch(45.4% 0.155 344.1);
Tailwind
colors: {
  custom: {
    50: '#b26a95',
    500: '#8d276b',
    950: '#000000',
  },
}
SCSS
$custom: #8d276b;
$custom-light: #b26a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8d276b",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 320,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.15462,
    "h": 344.1
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#8D276B
secondary
#59B778
accent
#E07B48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D276B

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

Preview Lab → · Contrast checker → · Palette generator →

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