#8E1345#8E1345

#8E1345 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.158 H 3.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8E1345
RGBrgb(142, 19, 69)
HSLhsl(336, 76%, 32%)
HSVhsv(336, 87%, 56%)
CMYKcmyk(0%, 86.6%, 51.4%, 44.3%)
CIE-LABlab(30.99, 51.47, 3.85)
CIE-LCHlch(30.99, 51.61, 4.27°)
OKLaboklab(42.58% 0.1579 0.0103)
OKLCHoklch(42.58% 0.158 3.7)
XYZxyz(12.4635, 6.6480, 6.2560)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1345 #138E5C
analogous
#8E1383 #8E1345 #8E1F13
triadic
#8E1345 #458E13 #13458E
tetradic
#8E1345 #838E13 #138E5C #1F138E
square
#8E1345 #838E13 #138E5C #1F138E
split-complementary
#8E1345 #138E1F #13838E
monochromatic
#220511 #580C2B #8E1345 #C41A5F #E4377E

Accessibility & contrast

On white

9.02
#8E1345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1345
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1345#FFFFFF#000000##FFFFFF
##8E13451.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1345;
/* rgb */ color: rgb(142, 19, 69);
/* oklch */ color: oklch(42.6% 0.158 3.7);
Tailwind
colors: {
  custom: {
    50: '#b56278',
    500: '#8e1345',
    950: '#000000',
  },
}
SCSS
$custom: #8e1345;
$custom-light: #b56278;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1345",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 335.61,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.15821,
    "h": 3.7
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#8E1345
secondary
#3BC28B
accent
#F3A635
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1345

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

Preview Lab → · Contrast checker → · Palette generator →

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