#8E1545#8E1545

#8E1545 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.157 H 4.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8E1545
RGBrgb(142, 21, 69)
HSLhsl(336, 74%, 32%)
HSVhsv(336, 85%, 56%)
CMYKcmyk(0%, 85.2%, 51.4%, 44.3%)
CIE-LABlab(31.16, 51.00, 4.08)
CIE-LCHlch(31.16, 51.16, 4.58°)
OKLaboklab(42.7% 0.1563 0.0109)
OKLCHoklch(42.7% 0.157 4)
XYZxyz(12.4988, 6.7186, 6.2677)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1545 #158E5E
analogous
#8E1582 #8E1545 #8E2115
triadic
#8E1545 #458E15 #15458E
tetradic
#8E1545 #828E15 #158E5E #21158E
square
#8E1545 #828E15 #158E5E #21158E
split-complementary
#8E1545 #158E21 #15828E
monochromatic
#230511 #590D2B #8E1545 #C31D5F #E23B7D

Accessibility & contrast

On white

8.96
#8E1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1545
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1545#FFFFFF#000000##FFFFFF
##8E15451.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1545;
/* rgb */ color: rgb(142, 21, 69);
/* oklch */ color: oklch(42.7% 0.157 4.0);
Tailwind
colors: {
  custom: {
    50: '#b56278',
    500: '#8e1545',
    950: '#000000',
  },
}
SCSS
$custom: #8e1545;
$custom-light: #b56278;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1545",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 336.198,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42699,
    "c": 0.15672,
    "h": 4
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#8E1545
secondary
#3DC28D
accent
#F1A737
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1545

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

Preview Lab → · Contrast checker → · Palette generator →

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