#8D315E#8D315E

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

Color values

HEX#8D315E
RGBrgb(141, 49, 94)
HSLhsl(331, 48%, 37%)
HSVhsv(331, 65%, 55%)
CMYKcmyk(0%, 65.2%, 33.3%, 44.7%)
CIE-LABlab(35.34, 43.42, -6.07)
CIE-LCHlch(35.34, 43.84, 352.04°)
OKLaboklab(46.01% 0.1324 -0.0155)
OKLCHoklch(46.01% 0.133 353.3)
XYZxyz(14.1039, 8.6690, 11.5180)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D315E #318D60
analogous
#8D318C #8D315E #8D3231
triadic
#8D315E #5E8D31 #315E8D
tetradic
#8D315E #8C8D31 #318D60 #32318D
square
#8D315E #8C8D31 #318D60 #32318D
split-complementary
#8D315E #318D32 #318C8D
monochromatic
#321121 #602140 #8D315E #BA417C #CC6C9B

Accessibility & contrast

On white

7.68
#8D315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D315E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D315E#FFFFFF#000000##FFFFFF
##8D315E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d315e;
/* rgb */ color: rgb(141, 49, 94);
/* oklch */ color: oklch(46.0% 0.133 353.3);
Tailwind
colors: {
  custom: {
    50: '#b26f8b',
    500: '#8d315e',
    950: '#000000',
  },
}
SCSS
$custom: #8d315e;
$custom-light: #b26f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d315e",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 330.652,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.13331,
    "h": 353.3
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#8D315E
secondary
#66B48E
accent
#D89550
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D315E

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

Preview Lab → · Contrast checker → · Palette generator →

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