#8E314D#8E314D

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

Color values

HEX#8E314D
RGBrgb(142, 49, 77)
HSLhsl(342, 49%, 37%)
HSVhsv(342, 65%, 56%)
CMYKcmyk(0%, 65.5%, 45.8%, 44.3%)
CIE-LABlab(34.97, 41.77, 4.32)
CIE-LCHlch(34.97, 41.99, 5.91°)
OKLaboklab(45.59% 0.1274 0.0116)
OKLCHoklch(45.59% 0.128 5.2)
XYZxyz(13.5942, 8.4849, 7.9416)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E314D #318E72
analogous
#8E317C #8E314D #8E4331
triadic
#8E314D #4D8E31 #314D8E
tetradic
#8E314D #7C8E31 #318E72 #43318E
square
#8E314D #7C8E31 #318E72 #43318E
split-complementary
#8E314D #318E43 #317C8E
monochromatic
#33121C #612134 #8E314D #BB4166 #CD6D8A

Accessibility & contrast

On white

7.79
#8E314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E314D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E314D#FFFFFF#000000##FFFFFF
##8E314D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#5D594B
Tritanopia (blue-blind)
#9A253C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e314d;
/* rgb */ color: rgb(142, 49, 77);
/* oklch */ color: oklch(45.6% 0.128 5.2);
Tailwind
colors: {
  custom: {
    50: '#b36f7e',
    500: '#8e314d',
    950: '#000000',
  },
}
SCSS
$custom: #8e314d;
$custom-light: #b36f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e314d",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 341.935,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.12791,
    "h": 5.2
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#8E314D
secondary
#67B49D
accent
#D8AF50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #8E314D

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

Preview Lab → · Contrast checker → · Palette generator →

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