#8E1B3A#8E1B3A

#8E1B3A is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 11.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8E1B3A
RGBrgb(142, 27, 58)
HSLhsl(344, 68%, 33%)
HSVhsv(344, 81%, 56%)
CMYKcmyk(0%, 81%, 59.2%, 44.3%)
CIE-LABlab(31.44, 48.49, 11.77)
CIE-LCHlch(31.44, 49.90, 13.64°)
OKLaboklab(42.82% 0.1467 0.0294)
OKLCHoklch(42.82% 0.15 11.3)
XYZxyz(12.3122, 6.8420, 4.6745)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B3A #1B8E6F
analogous
#8E1B73 #8E1B3A #8E351B
triadic
#8E1B3A #3A8E1B #1B3A8E
tetradic
#8E1B3A #738E1B #1B8E6F #351B8E
square
#8E1B3A #738E1B #1B8E6F #351B8E
split-complementary
#8E1B3A #1B8E35 #1B738E
monochromatic
#270710 #5B1125 #8E1B3A #C1254F #DC476F

Accessibility & contrast

On white

8.87
#8E1B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B3A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B3A#FFFFFF#000000##FFFFFF
##8E1B3A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3A
Deuteranopia (green-blind)
#595237
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1b3a;
/* rgb */ color: rgb(142, 27, 58);
/* oklch */ color: oklch(42.8% 0.150 11.3);
Tailwind
colors: {
  custom: {
    50: '#b5646f',
    500: '#8e1b3a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b3a;
$custom-light: #b5646f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b3a",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 343.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.14961,
    "h": 11.3
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

primary
#8E1B3A
secondary
#47BE9E
accent
#EBBC3D
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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