#8E1348#8E1348

#8E1348 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 2.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8E1348
RGBrgb(142, 19, 72)
HSLhsl(334, 76%, 32%)
HSVhsv(334, 87%, 56%)
CMYKcmyk(0%, 86.6%, 49.3%, 44.3%)
CIE-LABlab(31.08, 51.73, 1.99)
CIE-LCHlch(31.08, 51.77, 2.20°)
OKLaboklab(42.67% 0.159 0.0056)
OKLCHoklch(42.67% 0.159 2)
XYZxyz(12.5590, 6.6862, 6.7589)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1348 #138E59
analogous
#8E1386 #8E1348 #8E1B13
triadic
#8E1348 #488E13 #13488E
tetradic
#8E1348 #868E13 #138E59 #1B138E
square
#8E1348 #868E13 #138E59 #1B138E
split-complementary
#8E1348 #138E1B #13868E
monochromatic
#220511 #580C2D #8E1348 #C41A63 #E43782

Accessibility & contrast

On white

8.99
#8E1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1348
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1348#FFFFFF#000000##FFFFFF
##8E13481.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#555145
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1348;
/* rgb */ color: rgb(142, 19, 72);
/* oklch */ color: oklch(42.7% 0.159 2.0);
Tailwind
colors: {
  custom: {
    50: '#b5627a',
    500: '#8e1348',
    950: '#000000',
  },
}
SCSS
$custom: #8e1348;
$custom-light: #b5627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1348",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 334.146,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.15907,
    "h": 2
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#8E1348
secondary
#3BC288
accent
#F3A135
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1348

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

Preview Lab → · Contrast checker → · Palette generator →

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