#8E1F3F#8E1F3F

#8E1F3F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.147 H 9.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#8E1F3F
RGBrgb(142, 31, 63)
HSLhsl(343, 64%, 34%)
HSVhsv(343, 78%, 56%)
CMYKcmyk(0%, 78.2%, 55.6%, 44.3%)
CIE-LABlab(32.01, 47.61, 9.26)
CIE-LCHlch(32.01, 48.50, 11.00°)
OKLaboklab(43.28% 0.1447 0.0235)
OKLCHoklch(43.28% 0.147 9.2)
XYZxyz(12.5437, 7.0914, 5.4099)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F3F #1F8E6E
analogous
#8E1F77 #8E1F3F #8E371F
triadic
#8E1F3F #3F8E1F #1F3F8E
tetradic
#8E1F3F #778E1F #1F8E6E #371F8E
square
#8E1F3F #778E1F #1F8E6E #371F8E
split-complementary
#8E1F3F #1F8E37 #1F778E
monochromatic
#2A0912 #5C1429 #8E1F3F #C02A55 #D94F77

Accessibility & contrast

On white

8.68
#8E1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F3F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F3F#FFFFFF#000000##FFFFFF
##8E1F3F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#59533C
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1f3f;
/* rgb */ color: rgb(142, 31, 63);
/* oklch */ color: oklch(43.3% 0.147 9.2);
Tailwind
colors: {
  custom: {
    50: '#b56673',
    500: '#8e1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f3f;
$custom-light: #b56673;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f3f",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 342.703,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.14655,
    "h": 9.2
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#8E1F3F
secondary
#4DBB9C
accent
#E7B741
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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