#8C366E#8C366E

#8C366E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.1% C 0.134 H 343.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8C366E
RGBrgb(140, 54, 110)
HSLhsl(321, 44%, 38%)
HSVhsv(321, 61%, 55%)
CMYKcmyk(0%, 61.4%, 21.4%, 45.1%)
CIE-LABlab(36.63, 43.03, -14.27)
CIE-LCHlch(36.63, 45.34, 341.65°)
OKLaboklab(47.13% 0.1288 -0.038)
OKLCHoklch(47.13% 0.134 343.6)
XYZxyz(14.9493, 9.3409, 15.7645)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C366E #368C54
analogous
#7F368C #8C366E #8C3643
triadic
#8C366E #6E8C36 #366E8C
tetradic
#8C366E #8C7F36 #368C54 #36438C
square
#8C366E #8C7F36 #368C54 #36438C
split-complementary
#8C366E #438C36 #368C7F
monochromatic
#341429 #60254B #8C366E #B84791 #C973AB

Accessibility & contrast

On white

7.32
#8C366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8C366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C366E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C366E#FFFFFF#000000##FFFFFF
##8C366E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4D70
Deuteranopia (green-blind)
#565B6C
Tritanopia (blue-blind)
#95364D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c366e;
/* rgb */ color: rgb(140, 54, 110);
/* oklch */ color: oklch(47.1% 0.134 343.6);
Tailwind
colors: {
  custom: {
    50: '#b07297',
    500: '#8c366e',
    950: '#000000',
  },
}
SCSS
$custom: #8c366e;
$custom-light: #b07297;
$custom-dark: #000000;
JSON
{
  "hex": "#8c366e",
  "rgb": {
    "r": 140,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 320.93,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.13426,
    "h": 343.6
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#8C366E
secondary
#6CB284
accent
#D48154
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8C366E

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

Preview Lab → · Contrast checker → · Palette generator →

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