#8D314C#8D314C

#8D314C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.4% C 0.127 H 5.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8D314C
RGBrgb(141, 49, 76)
HSLhsl(342, 48%, 37%)
HSVhsv(342, 65%, 55%)
CMYKcmyk(0%, 65.2%, 46.1%, 44.7%)
CIE-LABlab(34.77, 41.33, 4.65)
CIE-LCHlch(34.77, 41.59, 6.42°)
OKLaboklab(45.4% 0.126 0.0124)
OKLCHoklch(45.4% 0.127 5.6)
XYZxyz(13.3883, 8.3828, 7.7491)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D314C #318D72
analogous
#8D317A #8D314C #8D4431
triadic
#8D314C #4C8D31 #314C8D
tetradic
#8D314C #7A8D31 #318D72 #44318D
square
#8D314C #7A8D31 #318D72 #44318D
split-complementary
#8D314C #318D44 #317A8D
monochromatic
#32111B #602134 #8D314C #BA4164 #CC6C88

Accessibility & contrast

On white

7.85
#8D314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D314C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D314C#FFFFFF#000000##FFFFFF
##8D314C1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44464D
Deuteranopia (green-blind)
#5C584A
Tritanopia (blue-blind)
#99253C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d314c;
/* rgb */ color: rgb(141, 49, 76);
/* oklch */ color: oklch(45.4% 0.127 5.6);
Tailwind
colors: {
  custom: {
    50: '#b36f7d',
    500: '#8d314c',
    950: '#000000',
  },
}
SCSS
$custom: #8d314c;
$custom-light: #b36f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d314c",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 342.391,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.12659,
    "h": 5.6
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#8D314C
secondary
#66B49D
accent
#D8B050
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#120809
muted
#817B7B

Preview Lab

Preview with #8D314C

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

Preview Lab → · Contrast checker → · Palette generator →

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