#8E1037#8E1037

#8E1037 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.157 H 11.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8E1037
RGBrgb(142, 16, 55)
HSLhsl(341, 80%, 31%)
HSVhsv(341, 89%, 56%)
CMYKcmyk(0%, 88.7%, 61.3%, 44.3%)
CIE-LABlab(30.40, 51.06, 12.34)
CIE-LCHlch(30.40, 52.53, 13.58°)
OKLaboklab(42.02% 0.1545 0.0305)
OKLCHoklch(42.02% 0.157 11.2)
XYZxyz(12.0315, 6.3991, 4.2153)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1037 #108E67
analogous
#8E1076 #8E1037 #8E2810
triadic
#8E1037 #378E10 #10378E
tetradic
#8E1037 #768E10 #108E67 #28108E
square
#8E1037 #768E10 #108E67 #28108E
split-complementary
#8E1037 #108E28 #10768E
monochromatic
#20040C #570A22 #8E1037 #C5164C #E83169

Accessibility & contrast

On white

9.21
#8E1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8E1037 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1037
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1037#FFFFFF#000000##FFFFFF
##8E10371.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373738
Deuteranopia (green-blind)
#575034
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1037;
/* rgb */ color: rgb(142, 16, 55);
/* oklch */ color: oklch(42.0% 0.157 11.2);
Tailwind
colors: {
  custom: {
    50: '#b6616d',
    500: '#8e1037',
    950: '#000000',
  },
}
SCSS
$custom: #8e1037;
$custom-light: #b6616d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1037",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 341.429,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42023,
    "c": 0.15748,
    "h": 11.2
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#8E1037
secondary
#37C397
accent
#F6B932
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1037

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

Preview Lab → · Contrast checker → · Palette generator →

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