#8E1541#8E1541

#8E1541 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 6.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8E1541
RGBrgb(142, 21, 65)
HSLhsl(338, 74%, 32%)
HSVhsv(338, 85%, 56%)
CMYKcmyk(0%, 85.2%, 54.2%, 44.3%)
CIE-LABlab(31.04, 50.66, 6.58)
CIE-LCHlch(31.04, 51.09, 7.40°)
OKLaboklab(42.58% 0.1548 0.017)
OKLCHoklch(42.58% 0.156 6.3)
XYZxyz(12.3788, 6.6706, 5.6357)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1541 #158E62
analogous
#8E157E #8E1541 #8E2615
triadic
#8E1541 #418E15 #15418E
tetradic
#8E1541 #7E8E15 #158E62 #26158E
square
#8E1541 #7E8E15 #158E62 #26158E
split-complementary
#8E1541 #158E26 #157E8E
monochromatic
#230510 #590D29 #8E1541 #C31D59 #E23B78

Accessibility & contrast

On white

9.00
#8E1541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1541
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1541#FFFFFF#000000##FFFFFF
##8E15411.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1541;
/* rgb */ color: rgb(142, 21, 65);
/* oklch */ color: oklch(42.6% 0.156 6.3);
Tailwind
colors: {
  custom: {
    50: '#b56275',
    500: '#8e1541',
    950: '#000000',
  },
}
SCSS
$custom: #8e1541;
$custom-light: #b56275;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1541",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 65
  },
  "hsl": {
    "h": 338.182,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.15574,
    "h": 6.3
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#8E1541
secondary
#3DC291
accent
#F1AD37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1541

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

Preview Lab → · Contrast checker → · Palette generator →

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