#8E1341#8E1341

#8E1341 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.157 H 6.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8E1341
RGBrgb(142, 19, 65)
HSLhsl(338, 76%, 32%)
HSVhsv(338, 87%, 56%)
CMYKcmyk(0%, 86.6%, 54.2%, 44.3%)
CIE-LABlab(30.88, 51.14, 6.34)
CIE-LCHlch(30.88, 51.53, 7.07°)
OKLaboklab(42.46% 0.1564 0.0164)
OKLCHoklch(42.46% 0.157 6)
XYZxyz(12.3435, 6.6000, 5.6240)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1341 #138E60
analogous
#8E137F #8E1341 #8E2313
triadic
#8E1341 #418E13 #13418E
tetradic
#8E1341 #7F8E13 #138E60 #23138E
square
#8E1341 #7F8E13 #138E60 #23138E
split-complementary
#8E1341 #138E23 #137F8E
monochromatic
#220510 #580C28 #8E1341 #C41A5A #E43778

Accessibility & contrast

On white

9.05
#8E1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1341
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1341#FFFFFF#000000##FFFFFF
##8E13411.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363942
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1341;
/* rgb */ color: rgb(142, 19, 65);
/* oklch */ color: oklch(42.5% 0.157 6.0);
Tailwind
colors: {
  custom: {
    50: '#b56275',
    500: '#8e1341',
    950: '#000000',
  },
}
SCSS
$custom: #8e1341;
$custom-light: #b56275;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1341",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 337.561,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.15722,
    "h": 6
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#8E1341
secondary
#3BC28F
accent
#F3AC35
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1341

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

Preview Lab → · Contrast checker → · Palette generator →

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