#8E1F3D#8E1F3D

#8E1F3D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.146 H 10.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8E1F3D
RGBrgb(142, 31, 61)
HSLhsl(344, 64%, 34%)
HSVhsv(344, 78%, 56%)
CMYKcmyk(0%, 78.2%, 57%, 44.3%)
CIE-LABlab(31.96, 47.45, 10.51)
CIE-LCHlch(31.96, 48.60, 12.48°)
OKLaboklab(43.22% 0.1438 0.0265)
OKLCHoklch(43.22% 0.146 10.4)
XYZxyz(12.4888, 7.0695, 5.1209)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F3D #1F8E70
analogous
#8E1F75 #8E1F3D #8E391F
triadic
#8E1F3D #3D8E1F #1F3D8E
tetradic
#8E1F3D #758E1F #1F8E70 #391F8E
square
#8E1F3D #758E1F #1F8E70 #391F8E
split-complementary
#8E1F3D #1F8E39 #1F758E
monochromatic
#2A0912 #5C1427 #8E1F3D #C02A53 #D94F74

Accessibility & contrast

On white

8.70
#8E1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F3D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F3D#FFFFFF#000000##FFFFFF
##8E1F3D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3D
Deuteranopia (green-blind)
#59533A
Tritanopia (blue-blind)
#9C002C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1f3d;
/* rgb */ color: rgb(142, 31, 61);
/* oklch */ color: oklch(43.2% 0.146 10.4);
Tailwind
colors: {
  custom: {
    50: '#b56672',
    500: '#8e1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f3d;
$custom-light: #b56672;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f3d",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 343.784,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43223,
    "c": 0.14626,
    "h": 10.4
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#8E1F3D
secondary
#4DBB9E
accent
#E7BA41
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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