#8D315D#8D315D

#8D315D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.133 H 354.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8D315D
RGBrgb(141, 49, 93)
HSLhsl(331, 48%, 37%)
HSVhsv(331, 65%, 55%)
CMYKcmyk(0%, 65.2%, 34%, 44.7%)
CIE-LABlab(35.30, 43.29, -5.49)
CIE-LCHlch(35.30, 43.64, 352.78°)
OKLaboklab(45.97% 0.1321 -0.0139)
OKLCHoklch(45.97% 0.133 354)
XYZxyz(14.0593, 8.6512, 11.2832)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D315D #318D61
analogous
#8D318B #8D315D #8D3331
triadic
#8D315D #5D8D31 #315D8D
tetradic
#8D315D #8B8D31 #318D61 #33318D
square
#8D315D #8B8D31 #318D61 #33318D
split-complementary
#8D315D #318D33 #318B8D
monochromatic
#321121 #60213F #8D315D #BA417B #CC6C9A

Accessibility & contrast

On white

7.69
#8D315D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D315D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D315D
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D315D#FFFFFF#000000##FFFFFF
##8D315D1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485E
Deuteranopia (green-blind)
#59595B
Tritanopia (blue-blind)
#982B43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d315d;
/* rgb */ color: rgb(141, 49, 93);
/* oklch */ color: oklch(46.0% 0.133 354.0);
Tailwind
colors: {
  custom: {
    50: '#b26f8a',
    500: '#8d315d',
    950: '#000000',
  },
}
SCSS
$custom: #8d315d;
$custom-light: #b26f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d315d",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 331.304,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.13281,
    "h": 354
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#8D315D
secondary
#66B48F
accent
#D89750
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8D315D

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

Preview Lab → · Contrast checker → · Palette generator →

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