#8E1B3D#8E1B3D

#8E1B3D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.150 H 9.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#8E1B3D
RGBrgb(142, 27, 61)
HSLhsl(342, 68%, 33%)
HSVhsv(342, 81%, 56%)
CMYKcmyk(0%, 81%, 57%, 44.3%)
CIE-LABlab(31.52, 48.71, 9.89)
CIE-LCHlch(31.52, 49.71, 11.47°)
OKLaboklab(42.89% 0.1479 0.025)
OKLCHoklch(42.89% 0.15 9.6)
XYZxyz(12.3908, 6.8734, 5.0882)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B3D #1B8E6C
analogous
#8E1B76 #8E1B3D #8E331B
triadic
#8E1B3D #3D8E1B #1B3D8E
tetradic
#8E1B3D #768E1B #1B8E6C #331B8E
square
#8E1B3D #768E1B #1B8E6C #331B8E
split-complementary
#8E1B3D #1B8E33 #1B768E
monochromatic
#270711 #5B1127 #8E1B3D #C12553 #DC4773

Accessibility & contrast

On white

8.84
#8E1B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B3D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B3D#FFFFFF#000000##FFFFFF
##8E1B3D1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3E
Deuteranopia (green-blind)
#58523A
Tritanopia (blue-blind)
#9C002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b3d;
/* rgb */ color: rgb(142, 27, 61);
/* oklch */ color: oklch(42.9% 0.150 9.6);
Tailwind
colors: {
  custom: {
    50: '#b56472',
    500: '#8e1b3d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b3d;
$custom-light: #b56472;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b3d",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 342.261,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.15001,
    "h": 9.6
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#8E1B3D
secondary
#47BE9B
accent
#EBB73D
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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