#8E1638#8E1638

#8E1638 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 11.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1638
RGBrgb(142, 22, 56)
HSLhsl(343, 73%, 32%)
HSVhsv(343, 85%, 56%)
CMYKcmyk(0%, 84.5%, 60.6%, 44.3%)
CIE-LABlab(30.91, 49.74, 12.36)
CIE-LCHlch(30.91, 51.25, 13.96°)
OKLaboklab(42.4% 0.1504 0.0307)
OKLCHoklch(42.4% 0.153 11.5)
XYZxyz(12.1573, 6.6120, 4.3767)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1638 #168E6C
analogous
#8E1674 #8E1638 #8E3016
triadic
#8E1638 #388E16 #16388E
tetradic
#8E1638 #748E16 #168E6C #30168E
square
#8E1638 #748E16 #168E6C #30168E
split-complementary
#8E1638 #168E30 #16748E
monochromatic
#24060E #590E23 #8E1638 #C31E4D #E13D6C

Accessibility & contrast

On white

9.04
#8E1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1638
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1638#FFFFFF#000000##FFFFFF
##8E16381.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.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: #8e1638;
/* rgb */ color: rgb(142, 22, 56);
/* oklch */ color: oklch(42.4% 0.153 11.5);
Tailwind
colors: {
  custom: {
    50: '#b6626e',
    500: '#8e1638',
    950: '#000000',
  },
}
SCSS
$custom: #8e1638;
$custom-light: #b6626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1638",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 343,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.15348,
    "h": 11.5
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#8E1638
secondary
#3FC19C
accent
#F0BC38
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1638

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

Preview Lab → · Contrast checker → · Palette generator →

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