#8E1148#8E1148

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

Color values

HEX#8E1148
RGBrgb(142, 17, 72)
HSLhsl(334, 79%, 31%)
HSVhsv(334, 88%, 56%)
CMYKcmyk(0%, 88%, 49.3%, 44.3%)
CIE-LABlab(30.93, 52.17, 1.76)
CIE-LCHlch(30.93, 52.20, 1.94°)
OKLaboklab(42.56% 0.1604 0.0051)
OKLCHoklch(42.56% 0.16 1.8)
XYZxyz(12.5266, 6.6213, 6.7481)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1148 #118E57
analogous
#8E1186 #8E1148 #8E1811
triadic
#8E1148 #488E11 #11488E
tetradic
#8E1148 #868E11 #118E57 #18118E
square
#8E1148 #868E11 #118E57 #18118E
split-complementary
#8E1148 #118E18 #11868E
monochromatic
#210411 #570A2C #8E1148 #C51864 #E73382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1148#FFFFFF#000000##FFFFFF
##8E11481.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)
#343A49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1148;
/* rgb */ color: rgb(142, 17, 72);
/* oklch */ color: oklch(42.6% 0.160 1.8);
Tailwind
colors: {
  custom: {
    50: '#b5617a',
    500: '#8e1148',
    950: '#000000',
  },
}
SCSS
$custom: #8e1148;
$custom-light: #b5617a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1148",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 333.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42561,
    "c": 0.16047,
    "h": 1.8
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#8E1148
secondary
#38C286
accent
#F5A033
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1148

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

Preview Lab → · Contrast checker → · Palette generator →

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