#8F5162#8F5162

#8F5162 is a mid, moderate pink. Relative luminance 0.126; OKLCH L 51.2% C 0.085 H 2.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8F5162
RGBrgb(143, 81, 98)
HSLhsl(344, 28%, 44%)
HSVhsv(344, 43%, 56%)
CMYKcmyk(0%, 43.4%, 31.5%, 43.9%)
CIE-LABlab(42.17, 28.07, 1.51)
CIE-LCHlch(42.17, 28.11, 3.07°)
OKLaboklab(51.23% 0.085 0.0043)
OKLCHoklch(51.23% 0.085 2.9)
XYZxyz(16.4753, 12.6076, 13.1187)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5162 #518F7E
analogous
#8F5181 #8F5162 #8F5F51
triadic
#8F5162 #628F51 #51628F
tetradic
#8F5162 #818F51 #518F7E #5F518F
square
#8F5162 #818F51 #518F7E #5F518F
split-complementary
#8F5162 #518F5F #51818F
monochromatic
#41252C #683B47 #8F5162 #AE6F81 #C497A3

Accessibility & contrast

On white

5.96
#8F5162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8F5162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5162
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5162#FFFFFF#000000##FFFFFF
##8F51621.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5D63
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#994C57
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f5162;
/* rgb */ color: rgb(143, 81, 98);
/* oklch */ color: oklch(51.2% 0.085 2.9);
Tailwind
colors: {
  custom: {
    50: '#b2838e',
    500: '#8f5162',
    950: '#000000',
  },
}
SCSS
$custom: #8f5162;
$custom-light: #b2838e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5162",
  "rgb": {
    "r": 143,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 343.548,
    "s": 27.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.08514,
    "h": 2.9
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#8F5162
secondary
#8BB1A6
accent
#C4AA64
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#110B0C
muted
#807C7D

Preview Lab

Preview with #8F5162

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

Preview Lab → · Contrast checker → · Palette generator →

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