#8E1B3E#8E1B3E

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

Color values

HEX#8E1B3E
RGBrgb(142, 27, 62)
HSLhsl(342, 68%, 33%)
HSVhsv(342, 81%, 56%)
CMYKcmyk(0%, 81%, 56.3%, 44.3%)
CIE-LABlab(31.54, 48.79, 9.26)
CIE-LCHlch(31.54, 49.66, 10.75°)
OKLaboklab(42.92% 0.1483 0.0235)
OKLCHoklch(42.92% 0.15 9)
XYZxyz(12.4180, 6.8842, 5.2314)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B3E #1B8E6B
analogous
#8E1B77 #8E1B3E #8E311B
triadic
#8E1B3E #3E8E1B #1B3E8E
tetradic
#8E1B3E #778E1B #1B8E6B #311B8E
square
#8E1B3E #778E1B #1B8E6B #311B8E
split-complementary
#8E1B3E #1B8E31 #1B778E
monochromatic
#270711 #5B1128 #8E1B3E #C12554 #DC4775

Accessibility & contrast

On white

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

On black

2.38
#8E1B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E1B3E#FFFFFF#000000##FFFFFF
##8E1B3E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1b3e;
/* rgb */ color: rgb(142, 27, 62);
/* oklch */ color: oklch(42.9% 0.150 9.0);
Tailwind
colors: {
  custom: {
    50: '#b56473',
    500: '#8e1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b3e;
$custom-light: #b56473;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b3e",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 341.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.15017,
    "h": 9
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#8E1B3E
secondary
#47BE9A
accent
#EBB63D
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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