#8C4E7B#8C4E7B

#8C4E7B is a mid, moderate pink. Relative luminance 0.125; OKLCH L 51.2% C 0.102 H 338.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8C4E7B
RGBrgb(140, 78, 123)
HSLhsl(316, 28%, 43%)
HSVhsv(316, 44%, 55%)
CMYKcmyk(0%, 44.3%, 12.1%, 45.1%)
CIE-LABlab(41.93, 32.64, -14.26)
CIE-LCHlch(41.93, 35.62, 336.41°)
OKLaboklab(51.25% 0.0951 -0.0382)
OKLCHoklch(51.25% 0.102 338.1)
XYZxyz(17.1148, 12.4553, 20.2377)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4E7B #4E8C5F
analogous
#7E4E8C #8C4E7B #8C4E5C
triadic
#8C4E7B #7B8C4E #4E7B8C
tetradic
#8C4E7B #8C7E4E #4E8C5F #4E5C8C
square
#8C4E7B #8C7E4E #4E8C5F #4E5C8C
split-complementary
#8C4E7B #5C8C4E #4E8C7E
monochromatic
#3D2236 #653858 #8C4E7B #AC6B9A #C292B5

Accessibility & contrast

On white

6.02
#8C4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8C4E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4E7B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4E7B#FFFFFF#000000##FFFFFF
##8C4E7B1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#606679
Tritanopia (blue-blind)
#92505F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c4e7b;
/* rgb */ color: rgb(140, 78, 123);
/* oklch */ color: oklch(51.2% 0.102 338.1);
Tailwind
colors: {
  custom: {
    50: '#af81a1',
    500: '#8c4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8c4e7b;
$custom-light: #af81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4e7b",
  "rgb": {
    "r": 140,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 316.452,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.10247,
    "h": 338.1
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#8C4E7B
secondary
#87AF92
accent
#C57E63
background
#FAF8F9
surface
#F5EFF2
border
#CFCACC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8C4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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