#8E314F#8E314F

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

Color values

HEX#8E314F
RGBrgb(142, 49, 79)
HSLhsl(341, 49%, 37%)
HSVhsv(341, 65%, 56%)
CMYKcmyk(0%, 65.5%, 44.4%, 44.3%)
CIE-LABlab(35.03, 41.98, 3.12)
CIE-LCHlch(35.03, 42.10, 4.25°)
OKLaboklab(45.65% 0.1282 0.0085)
OKLCHoklch(45.65% 0.128 3.8)
XYZxyz(13.6659, 8.5136, 8.3192)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E314F #318E70
analogous
#8E317E #8E314F #8E4131
triadic
#8E314F #4F8E31 #314F8E
tetradic
#8E314F #7E8E31 #318E70 #41318E
square
#8E314F #7E8E31 #318E70 #41318E
split-complementary
#8E314F #318E41 #317E8E
monochromatic
#33121C #612136 #8E314F #BB4168 #CD6D8C

Accessibility & contrast

On white

7.77
#8E314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E314F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E314F#FFFFFF#000000##FFFFFF
##8E314F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#5C594D
Tritanopia (blue-blind)
#9A253D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e314f;
/* rgb */ color: rgb(142, 49, 79);
/* oklch */ color: oklch(45.7% 0.128 3.8);
Tailwind
colors: {
  custom: {
    50: '#b36f80',
    500: '#8e314f',
    950: '#000000',
  },
}
SCSS
$custom: #8e314f;
$custom-light: #b36f80;
$custom-dark: #000000;
JSON
{
  "hex": "#8e314f",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 340.645,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45654,
    "c": 0.12844,
    "h": 3.8
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#8E314F
secondary
#67B49B
accent
#D8AC50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #8E314F

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

Preview Lab → · Contrast checker → · Palette generator →

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