#8E1538#8E1538

#8E1538 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.154 H 11.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8E1538
RGBrgb(142, 21, 56)
HSLhsl(343, 74%, 32%)
HSVhsv(343, 85%, 56%)
CMYKcmyk(0%, 85.2%, 60.6%, 44.3%)
CIE-LABlab(30.82, 49.99, 12.24)
CIE-LCHlch(30.82, 51.47, 13.76°)
OKLaboklab(42.34% 0.1512 0.0304)
OKLCHoklch(42.34% 0.154 11.4)
XYZxyz(12.1386, 6.5745, 4.3705)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1538 #158E6B
analogous
#8E1574 #8E1538 #8E2F15
triadic
#8E1538 #388E15 #15388E
tetradic
#8E1538 #748E15 #158E6B #2F158E
square
#8E1538 #748E15 #158E6B #2F158E
split-complementary
#8E1538 #158E2F #15748E
monochromatic
#23050E #590D23 #8E1538 #C31D4D #E23B6C

Accessibility & contrast

On white

9.07
#8E1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1538
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1538#FFFFFF#000000##FFFFFF
##8E15381.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#585135
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1538;
/* rgb */ color: rgb(142, 21, 56);
/* oklch */ color: oklch(42.3% 0.154 11.4);
Tailwind
colors: {
  custom: {
    50: '#b6626e',
    500: '#8e1538',
    950: '#000000',
  },
}
SCSS
$custom: #8e1538;
$custom-light: #b6626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1538",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 342.645,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.15423,
    "h": 11.4
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#8E1538
secondary
#3DC29B
accent
#F1BB37
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1538

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

Preview Lab → · Contrast checker → · Palette generator →

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