#8D315F#8D315F

#8D315F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.0% C 0.134 H 352.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8D315F
RGBrgb(141, 49, 95)
HSLhsl(330, 48%, 37%)
HSVhsv(330, 65%, 55%)
CMYKcmyk(0%, 65.2%, 32.6%, 44.7%)
CIE-LABlab(35.37, 43.55, -6.66)
CIE-LCHlch(35.37, 44.06, 351.31°)
OKLaboklab(46.05% 0.1327 -0.0171)
OKLCHoklch(46.05% 0.134 352.7)
XYZxyz(14.1491, 8.6871, 11.7559)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D315F #318D5F
analogous
#8D318D #8D315F #8D3131
triadic
#8D315F #5F8D31 #315F8D
tetradic
#8D315F #8D8D31 #318D5F #31318D
square
#8D315F #8D8D31 #318D5F #31318D
split-complementary
#8D315F #318D31 #318D8D
monochromatic
#321122 #602140 #8D315F #BA417E #CC6C9C

Accessibility & contrast

On white

7.67
#8D315F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D315F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D315F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D315F#FFFFFF#000000##FFFFFF
##8D315F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4960
Deuteranopia (green-blind)
#58595D
Tritanopia (blue-blind)
#972B44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d315f;
/* rgb */ color: rgb(141, 49, 95);
/* oklch */ color: oklch(46.0% 0.134 352.7);
Tailwind
colors: {
  custom: {
    50: '#b26f8c',
    500: '#8d315f',
    950: '#000000',
  },
}
SCSS
$custom: #8d315f;
$custom-light: #b26f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d315f",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 330,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46046,
    "c": 0.13381,
    "h": 352.7
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#8D315F
secondary
#66B48D
accent
#D89450
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D315F

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

Preview Lab → · Contrast checker → · Palette generator →

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