#8E2947#8E2947

#8E2947 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.137 H 6.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8E2947
RGBrgb(142, 41, 71)
HSLhsl(342, 55%, 36%)
HSVhsv(342, 71%, 56%)
CMYKcmyk(0%, 71.1%, 50%, 44.3%)
CIE-LABlab(33.55, 44.62, 6.18)
CIE-LCHlch(33.55, 45.04, 7.88°)
OKLaboklab(44.48% 0.136 0.0161)
OKLCHoklch(44.48% 0.137 6.8)
XYZxyz(13.0867, 7.7933, 6.7751)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2947 #298E70
analogous
#8E2979 #8E2947 #8E3D29
triadic
#8E2947 #478E29 #29478E
tetradic
#8E2947 #798E29 #298E70 #3D298E
square
#8E2947 #798E29 #298E70 #3D298E
split-complementary
#8E2947 #298E3D #29798E
monochromatic
#2F0E18 #5F1B2F #8E2947 #BD375F #D16082

Accessibility & contrast

On white

8.21
#8E2947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E2947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2947
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2947#FFFFFF#000000##FFFFFF
##8E29471.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#5B5645
Tritanopia (blue-blind)
#9B1735
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2947;
/* rgb */ color: rgb(142, 41, 71);
/* oklch */ color: oklch(44.5% 0.137 6.8);
Tailwind
colors: {
  custom: {
    50: '#b46a7a',
    500: '#8e2947',
    950: '#000000',
  },
}
SCSS
$custom: #8e2947;
$custom-light: #b46a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2947",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 342.178,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.13694,
    "h": 6.8
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#8E2947
secondary
#5CB79C
accent
#DFB249
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E2947

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

Preview Lab → · Contrast checker → · Palette generator →

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