#8E314E#8E314E

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

Color values

HEX#8E314E
RGBrgb(142, 49, 78)
HSLhsl(341, 49%, 37%)
HSVhsv(341, 65%, 56%)
CMYKcmyk(0%, 65.5%, 45.1%, 44.3%)
CIE-LABlab(35.00, 41.88, 3.72)
CIE-LCHlch(35.00, 42.04, 5.07°)
OKLaboklab(45.62% 0.1278 0.01)
OKLCHoklch(45.62% 0.128 4.5)
XYZxyz(13.6298, 8.4991, 8.1290)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E314E #318E71
analogous
#8E317D #8E314E #8E4231
triadic
#8E314E #4E8E31 #314E8E
tetradic
#8E314E #7D8E31 #318E71 #42318E
square
#8E314E #7D8E31 #318E71 #42318E
split-complementary
#8E314E #318E42 #317D8E
monochromatic
#33121C #612135 #8E314E #BB4167 #CD6D8B

Accessibility & contrast

On white

7.78
#8E314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E314E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E314E#FFFFFF#000000##FFFFFF
##8E314E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e314e;
/* rgb */ color: rgb(142, 49, 78);
/* oklch */ color: oklch(45.6% 0.128 4.5);
Tailwind
colors: {
  custom: {
    50: '#b36f7f',
    500: '#8e314e',
    950: '#000000',
  },
}
SCSS
$custom: #8e314e;
$custom-light: #b36f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e314e",
  "rgb": {
    "r": 142,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 341.29,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.12816,
    "h": 4.5
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#8E314E
secondary
#67B49C
accent
#D8AE50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #8E314E

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

Preview Lab → · Contrast checker → · Palette generator →

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