#8D5158#8D5158

#8D5158 is a mid, moderate red. Relative luminance 0.123; OKLCH L 50.7% C 0.081 H 12.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D5158
RGBrgb(141, 81, 88)
HSLhsl(353, 27%, 44%)
HSVhsv(353, 43%, 55%)
CMYKcmyk(0%, 42.6%, 37.6%, 44.7%)
CIE-LABlab(41.62, 25.93, 6.85)
CIE-LCHlch(41.62, 26.82, 14.79°)
OKLaboklab(50.67% 0.0786 0.0179)
OKLCHoklch(50.67% 0.081 12.9)
XYZxyz(15.6891, 12.2535, 10.7695)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5158 #518D86
analogous
#8D5176 #8D5158 #8D6851
triadic
#8D5158 #588D51 #51588D
tetradic
#8D5158 #768D51 #518D86 #68518D
square
#8D5158 #768D51 #518D86 #68518D
split-complementary
#8D5158 #518D68 #51768D
monochromatic
#3F2427 #663B40 #8D5158 #AC6F76 #C3969B

Accessibility & contrast

On white

6.09
#8D5158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D5158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5158
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5158#FFFFFF#000000##FFFFFF
##8D51581.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5B58
Deuteranopia (green-blind)
#6B6757
Tritanopia (blue-blind)
#974B54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d5158;
/* rgb */ color: rgb(141, 81, 88);
/* oklch */ color: oklch(50.7% 0.081 12.9);
Tailwind
colors: {
  custom: {
    50: '#b08387',
    500: '#8d5158',
    950: '#000000',
  },
}
SCSS
$custom: #8d5158;
$custom-light: #b08387;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5158",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 353,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.08062,
    "h": 12.9
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#8D5158
secondary
#8AAFAB
accent
#C3B864
background
#FBF8F8
surface
#F6EFEF
border
#D0CACA
text
#110A0B
muted
#807C7C

Preview Lab

Preview with #8D5158

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

Preview Lab → · Contrast checker → · Palette generator →

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