#8E314C#8E314C

#8E314C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.6% C 0.128 H 5.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8E314C
RGBrgb(142, 49, 76)
HSLhsl(343, 49%, 37%)
HSVhsv(343, 65%, 56%)
CMYKcmyk(0%, 65.5%, 46.5%, 44.3%)
CIE-LABlab(34.95, 41.67, 4.93)
CIE-LCHlch(34.95, 41.96, 6.74°)
OKLaboklab(45.56% 0.127 0.0131)
OKLCHoklch(45.56% 0.128 5.9)
XYZxyz(13.5591, 8.4709, 7.7571)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E314C #318E73
analogous
#8E317A #8E314C #8E4531
triadic
#8E314C #4C8E31 #314C8E
tetradic
#8E314C #7A8E31 #318E73 #45318E
square
#8E314C #7A8E31 #318E73 #45318E
split-complementary
#8E314C #318E45 #317A8E
monochromatic
#33121B #612134 #8E314C #BB4164 #CD6D89

Accessibility & contrast

On white

7.80
#8E314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E314C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E314C#FFFFFF#000000##FFFFFF
##8E314C1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474D
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#9A243C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e314c;
/* rgb */ color: rgb(142, 49, 76);
/* oklch */ color: oklch(45.6% 0.128 5.9);
Tailwind
colors: {
  custom: {
    50: '#b36f7d',
    500: '#8e314c',
    950: '#000000',
  },
}
SCSS
$custom: #8e314c;
$custom-light: #b36f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e314c",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 342.581,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45562,
    "c": 0.12767,
    "h": 5.9
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#8E314C
secondary
#67B49E
accent
#D8B150
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#120809
muted
#817B7B

Preview Lab

Preview with #8E314C

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

Preview Lab → · Contrast checker → · Palette generator →

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