#8E1138#8E1138

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

Color values

HEX#8E1138
RGBrgb(142, 17, 56)
HSLhsl(341, 79%, 31%)
HSVhsv(341, 88%, 56%)
CMYKcmyk(0%, 88%, 60.6%, 44.3%)
CIE-LABlab(30.49, 50.92, 11.80)
CIE-LCHlch(30.49, 52.27, 13.05°)
OKLaboklab(42.1% 0.1542 0.0293)
OKLCHoklch(42.1% 0.157 10.8)
XYZxyz(12.0709, 6.4391, 4.3479)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1138 #118E67
analogous
#8E1176 #8E1138 #8E2811
triadic
#8E1138 #388E11 #11388E
tetradic
#8E1138 #768E11 #118E67 #28118E
square
#8E1138 #768E11 #118E67 #28118E
split-complementary
#8E1138 #118E28 #11768E
monochromatic
#21040D #570A22 #8E1138 #C5184E #E7336B

Accessibility & contrast

On white

9.18
#8E1138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1138
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1138#FFFFFF#000000##FFFFFF
##8E11381.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1138;
/* rgb */ color: rgb(142, 17, 56);
/* oklch */ color: oklch(42.1% 0.157 10.8);
Tailwind
colors: {
  custom: {
    50: '#b6616e',
    500: '#8e1138',
    950: '#000000',
  },
}
SCSS
$custom: #8e1138;
$custom-light: #b6616e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1138",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 56
  },
  "hsl": {
    "h": 341.28,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.15698,
    "h": 10.8
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#8E1138
secondary
#38C297
accent
#F5B833
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1138

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

Preview Lab → · Contrast checker → · Palette generator →

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