#8D316F#8D316F

#8D316F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.7% C 0.143 H 342.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8D316F
RGBrgb(141, 49, 111)
HSLhsl(320, 48%, 37%)
HSVhsv(320, 65%, 55%)
CMYKcmyk(0%, 65.2%, 21.3%, 44.7%)
CIE-LABlab(36.00, 45.78, -15.86)
CIE-LCHlch(36.00, 48.44, 340.89°)
OKLaboklab(46.71% 0.137 -0.0424)
OKLCHoklch(46.71% 0.143 342.8)
XYZxyz(14.9525, 9.0084, 15.9872)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D316F #318D4F
analogous
#7D318D #8D316F #8D3141
triadic
#8D316F #6F8D31 #316F8D
tetradic
#8D316F #8D7D31 #318D4F #31418D
square
#8D316F #8D7D31 #318D4F #31418D
split-complementary
#8D316F #418D31 #318D7D
monochromatic
#321127 #60214B #8D316F #BA4193 #CC6CAD

Accessibility & contrast

On white

7.50
#8D316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D316F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D316F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D316F#FFFFFF#000000##FFFFFF
##8D316F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#545A6D
Tritanopia (blue-blind)
#96314B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d316f;
/* rgb */ color: rgb(141, 49, 111);
/* oklch */ color: oklch(46.7% 0.143 342.8);
Tailwind
colors: {
  custom: {
    50: '#b16f98',
    500: '#8d316f',
    950: '#000000',
  },
}
SCSS
$custom: #8d316f;
$custom-light: #b16f98;
$custom-dark: #000000;
JSON
{
  "hex": "#8d316f",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 319.565,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.14344,
    "h": 342.8
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#8D316F
secondary
#66B47F
accent
#D87C50
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D316F

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

Preview Lab → · Contrast checker → · Palette generator →

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