#8D5160#8D5160

#8D5160 is a mid, moderate red. Relative luminance 0.124; OKLCH L 50.9% C 0.082 H 4.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D5160
RGBrgb(141, 81, 96)
HSLhsl(345, 27%, 44%)
HSVhsv(345, 43%, 55%)
CMYKcmyk(0%, 42.6%, 31.9%, 44.7%)
CIE-LABlab(41.83, 27.01, 2.22)
CIE-LCHlch(41.83, 27.10, 4.71°)
OKLaboklab(50.91% 0.0819 0.0062)
OKLCHoklch(50.91% 0.082 4.3)
XYZxyz(16.0388, 12.3934, 12.6115)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5160 #518D7E
analogous
#8D517E #8D5160 #8D6051
triadic
#8D5160 #608D51 #51608D
tetradic
#8D5160 #7E8D51 #518D7E #60518D
square
#8D5160 #7E8D51 #518D7E #60518D
split-complementary
#8D5160 #518D60 #517E8D
monochromatic
#3F242B #663B46 #8D5160 #AC6F7E #C396A1

Accessibility & contrast

On white

6.04
#8D5160 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8D5160 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5160
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5160#FFFFFF#000000##FFFFFF
##8D51601.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5C60
Deuteranopia (green-blind)
#69675F
Tritanopia (blue-blind)
#964C56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d5160;
/* rgb */ color: rgb(141, 81, 96);
/* oklch */ color: oklch(50.9% 0.082 4.3);
Tailwind
colors: {
  custom: {
    50: '#b0838d',
    500: '#8d5160',
    950: '#000000',
  },
}
SCSS
$custom: #8d5160;
$custom-light: #b0838d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5160",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 96
  },
  "hsl": {
    "h": 345,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.08208,
    "h": 4.3
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#8D5160
secondary
#8AAFA6
accent
#C3AC64
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#110B0C
muted
#807C7D

Preview Lab

Preview with #8D5160

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

Preview Lab → · Contrast checker → · Palette generator →

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