#8E1948#8E1948

#8E1948 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 2.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8E1948
RGBrgb(142, 25, 72)
HSLhsl(336, 70%, 33%)
HSVhsv(336, 82%, 56%)
CMYKcmyk(0%, 82.4%, 49.3%, 44.3%)
CIE-LABlab(31.61, 50.21, 2.75)
CIE-LCHlch(31.61, 50.28, 3.14°)
OKLaboklab(43.06% 0.1541 0.0076)
OKLCHoklch(43.06% 0.154 2.8)
XYZxyz(12.6738, 6.9157, 6.7971)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1948 #198E5F
analogous
#8E1983 #8E1948 #8E2419
triadic
#8E1948 #488E19 #19488E
tetradic
#8E1948 #838E19 #198E5F #24198E
square
#8E1948 #838E19 #198E5F #24198E
split-complementary
#8E1948 #198E24 #19838E
monochromatic
#260713 #5A102E #8E1948 #C22262 #DE4382

Accessibility & contrast

On white

8.81
#8E1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1948
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1948#FFFFFF#000000##FFFFFF
##8E19481.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1948;
/* rgb */ color: rgb(142, 25, 72);
/* oklch */ color: oklch(43.1% 0.154 2.8);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8e1948',
    950: '#000000',
  },
}
SCSS
$custom: #8e1948;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1948",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 335.897,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.15424,
    "h": 2.8
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#8E1948
secondary
#44BF8E
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1948

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

Preview Lab → · Contrast checker → · Palette generator →

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