#8E1838#8E1838

#8E1838 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 11.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8E1838
RGBrgb(142, 24, 56)
HSLhsl(344, 71%, 33%)
HSVhsv(344, 83%, 56%)
CMYKcmyk(0%, 83.1%, 60.6%, 44.3%)
CIE-LABlab(31.09, 49.21, 12.62)
CIE-LCHlch(31.09, 50.80, 14.38°)
OKLaboklab(42.54% 0.1487 0.0313)
OKLCHoklch(42.54% 0.152 11.9)
XYZxyz(12.1970, 6.6914, 4.3899)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1838 #188E6E
analogous
#8E1873 #8E1838 #8E3318
triadic
#8E1838 #388E18 #18388E
tetradic
#8E1838 #738E18 #188E6E #33188E
square
#8E1838 #738E18 #188E6E #33188E
split-complementary
#8E1838 #188E33 #18738E
monochromatic
#25060F #5A0F23 #8E1838 #C2214D #DF416C

Accessibility & contrast

On white

8.98
#8E1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1838
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1838#FFFFFF#000000##FFFFFF
##8E18381.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1838;
/* rgb */ color: rgb(142, 24, 56);
/* oklch */ color: oklch(42.5% 0.152 11.9);
Tailwind
colors: {
  custom: {
    50: '#b6636e',
    500: '#8e1838',
    950: '#000000',
  },
}
SCSS
$custom: #8e1838;
$custom-light: #b6636e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1838",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 343.729,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42542,
    "c": 0.15192,
    "h": 11.9
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#8E1838
secondary
#42C09E
accent
#EEBD3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1838

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

Preview Lab → · Contrast checker → · Palette generator →

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