#8E1B3F#8E1B3F

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

Color values

HEX#8E1B3F
RGBrgb(142, 27, 63)
HSLhsl(341, 68%, 33%)
HSVhsv(341, 81%, 56%)
CMYKcmyk(0%, 81%, 55.6%, 44.3%)
CIE-LABlab(31.57, 48.87, 8.64)
CIE-LCHlch(31.57, 49.63, 10.02°)
OKLaboklab(42.95% 0.1487 0.022)
OKLCHoklch(42.95% 0.15 8.4)
XYZxyz(12.4457, 6.8953, 5.3772)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B3F #1B8E6A
analogous
#8E1B78 #8E1B3F #8E301B
triadic
#8E1B3F #3F8E1B #1B3F8E
tetradic
#8E1B3F #788E1B #1B8E6A #301B8E
square
#8E1B3F #788E1B #1B8E6A #301B8E
split-complementary
#8E1B3F #1B8E30 #1B788E
monochromatic
#270711 #5B1128 #8E1B3F #C12556 #DC4776

Accessibility & contrast

On white

8.83
#8E1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B3F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B3F#FFFFFF#000000##FFFFFF
##8E1B3F1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C40
Deuteranopia (green-blind)
#58533C
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b3f;
/* rgb */ color: rgb(142, 27, 63);
/* oklch */ color: oklch(42.9% 0.150 8.4);
Tailwind
colors: {
  custom: {
    50: '#b56473',
    500: '#8e1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b3f;
$custom-light: #b56473;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b3f",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 341.217,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.15034,
    "h": 8.4
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#8E1B3F
secondary
#47BE99
accent
#EBB43D
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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