#8E1946#8E1946

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

Color values

HEX#8E1946
RGBrgb(142, 25, 70)
HSLhsl(337, 70%, 33%)
HSVhsv(337, 82%, 56%)
CMYKcmyk(0%, 82.4%, 50.7%, 44.3%)
CIE-LABlab(31.56, 50.03, 3.99)
CIE-LCHlch(31.56, 50.19, 4.56°)
OKLaboklab(43% 0.1533 0.0107)
OKLCHoklch(43% 0.154 4)
XYZxyz(12.6096, 6.8900, 6.4591)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1946 #198E61
analogous
#8E1980 #8E1946 #8E2619
triadic
#8E1946 #468E19 #19468E
tetradic
#8E1946 #808E19 #198E61 #26198E
square
#8E1946 #808E19 #198E61 #26198E
split-complementary
#8E1946 #198E26 #19808E
monochromatic
#260713 #5A102C #8E1946 #C22260 #DE437F

Accessibility & contrast

On white

8.83
#8E1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1946
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1946#FFFFFF#000000##FFFFFF
##8E19461.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1946;
/* rgb */ color: rgb(142, 25, 70);
/* oklch */ color: oklch(43.0% 0.154 4.0);
Tailwind
colors: {
  custom: {
    50: '#b56479',
    500: '#8e1946',
    950: '#000000',
  },
}
SCSS
$custom: #8e1946;
$custom-light: #b56479;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1946",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 336.923,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43,
    "c": 0.15368,
    "h": 4
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#8E1946
secondary
#44BF90
accent
#EDA83B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1946

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

Preview Lab → · Contrast checker → · Palette generator →

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