#8F5166#8F5166

#8F5166 is a mid, moderate pink. Relative luminance 0.127; OKLCH L 51.4% C 0.087 H 358.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8F5166
RGBrgb(143, 81, 102)
HSLhsl(340, 28%, 44%)
HSVhsv(340, 43%, 56%)
CMYKcmyk(0%, 43.4%, 28.7%, 43.9%)
CIE-LABlab(42.28, 28.64, -0.79)
CIE-LCHlch(42.28, 28.65, 358.43°)
OKLaboklab(51.36% 0.0866 -0.0017)
OKLCHoklch(51.36% 0.087 358.9)
XYZxyz(16.6689, 12.6851, 14.1383)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5166 #518F7A
analogous
#8F5185 #8F5166 #8F5B51
triadic
#8F5166 #668F51 #51668F
tetradic
#8F5166 #858F51 #518F7A #5B518F
square
#8F5166 #858F51 #518F7A #5B518F
split-complementary
#8F5166 #518F5B #51858F
monochromatic
#41252E #683B4A #8F5166 #AE6F85 #C497A6

Accessibility & contrast

On white

5.94
#8F5166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F5166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5166
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5166#FFFFFF#000000##FFFFFF
##8F51661.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5D67
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#984D58
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f5166;
/* rgb */ color: rgb(143, 81, 102);
/* oklch */ color: oklch(51.4% 0.087 358.9);
Tailwind
colors: {
  custom: {
    50: '#b18391',
    500: '#8f5166',
    950: '#000000',
  },
}
SCSS
$custom: #8f5166;
$custom-light: #b18391;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5166",
  "rgb": {
    "r": 143,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 339.677,
    "s": 27.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.0866,
    "h": 358.9
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#8F5166
secondary
#8BB1A4
accent
#C4A364
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#110B0C
muted
#807C7D

Preview Lab

Preview with #8F5166

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

Preview Lab → · Contrast checker → · Palette generator →

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