#8D5162#8D5162

#8D5162 is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.0% C 0.083 H 2.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8D5162
RGBrgb(141, 81, 98)
HSLhsl(343, 27%, 44%)
HSVhsv(343, 43%, 55%)
CMYKcmyk(0%, 42.6%, 30.5%, 44.7%)
CIE-LABlab(41.89, 27.30, 1.07)
CIE-LCHlch(41.89, 27.32, 2.25°)
OKLaboklab(50.97% 0.0826 0.0032)
OKLCHoklch(50.97% 0.083 2.2)
XYZxyz(16.1321, 12.4307, 13.1026)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5162 #518D7C
analogous
#8D5180 #8D5162 #8D5E51
triadic
#8D5162 #628D51 #51628D
tetradic
#8D5162 #808D51 #518D7C #5E518D
square
#8D5162 #808D51 #518D7C #5E518D
split-complementary
#8D5162 #518D5E #51808D
monochromatic
#3F242C #663B47 #8D5162 #AC6F80 #C396A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5162#FFFFFF#000000##FFFFFF
##8D51621.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)
#5A5C63
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#964D57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d5162;
/* rgb */ color: rgb(141, 81, 98);
/* oklch */ color: oklch(51.0% 0.083 2.2);
Tailwind
colors: {
  custom: {
    50: '#b0838e',
    500: '#8d5162',
    950: '#000000',
  },
}
SCSS
$custom: #8d5162;
$custom-light: #b0838e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5162",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 343,
    "s": 27.027,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.0827,
    "h": 2.2
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#8D5162
secondary
#8AAFA5
accent
#C3A864
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#110B0C
muted
#807C7D

Preview Lab

Preview with #8D5162

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

Preview Lab → · Contrast checker → · Palette generator →

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