#8D3166#8D3166

#8D3166 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.138 H 348.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8D3166
RGBrgb(141, 49, 102)
HSLhsl(325, 48%, 37%)
HSVhsv(325, 65%, 55%)
CMYKcmyk(0%, 65.2%, 27.7%, 44.7%)
CIE-LABlab(35.64, 44.49, -10.72)
CIE-LCHlch(35.64, 45.76, 346.45°)
OKLaboklab(46.32% 0.1348 -0.0281)
OKLCHoklch(46.32% 0.138 348.2)
XYZxyz(14.4817, 8.8201, 13.5076)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3166 #318D58
analogous
#86318D #8D3166 #8D3138
triadic
#8D3166 #668D31 #31668D
tetradic
#8D3166 #8D8631 #318D58 #31388D
square
#8D3166 #8D8631 #318D58 #31388D
split-complementary
#8D3166 #388D31 #318D86
monochromatic
#321124 #602145 #8D3166 #BA4187 #CC6CA3

Accessibility & contrast

On white

7.60
#8D3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3166
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3166#FFFFFF#000000##FFFFFF
##8D31661.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4A68
Deuteranopia (green-blind)
#565A64
Tritanopia (blue-blind)
#972E47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d3166;
/* rgb */ color: rgb(141, 49, 102);
/* oklch */ color: oklch(46.3% 0.138 348.2);
Tailwind
colors: {
  custom: {
    50: '#b16f91',
    500: '#8d3166',
    950: '#000000',
  },
}
SCSS
$custom: #8d3166;
$custom-light: #b16f91;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3166",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 325.435,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.13768,
    "h": 348.2
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

primary
#8D3166
secondary
#66B487
accent
#D88A50
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D3166

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

Preview Lab → · Contrast checker → · Palette generator →

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