#8E1043#8E1043

#8E1043 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.160 H 4.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#8E1043
RGBrgb(142, 16, 67)
HSLhsl(336, 80%, 31%)
HSVhsv(336, 89%, 56%)
CMYKcmyk(0%, 88.7%, 52.8%, 44.3%)
CIE-LABlab(30.71, 51.95, 4.77)
CIE-LCHlch(30.71, 52.17, 5.25°)
OKLaboklab(42.35% 0.1592 0.0126)
OKLCHoklch(42.35% 0.16 4.5)
XYZxyz(12.3549, 6.5284, 5.9187)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1043 #108E5B
analogous
#8E1082 #8E1043 #8E1C10
triadic
#8E1043 #438E10 #10438E
tetradic
#8E1043 #828E10 #108E5B #1C108E
square
#8E1043 #828E10 #108E5B #1C108E
split-complementary
#8E1043 #108E1C #10828E
monochromatic
#20040F #570A29 #8E1043 #C5165D #E8317B

Accessibility & contrast

On white

9.11
#8E1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8E1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1043
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1043#FFFFFF#000000##FFFFFF
##8E10431.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353944
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1043;
/* rgb */ color: rgb(142, 16, 67);
/* oklch */ color: oklch(42.4% 0.160 4.5);
Tailwind
colors: {
  custom: {
    50: '#b56176',
    500: '#8e1043',
    950: '#000000',
  },
}
SCSS
$custom: #8e1043;
$custom-light: #b56176;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1043",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 335.714,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.15973,
    "h": 4.5
  },
  "luminance": 0.06527
}

Semantic roles & 50–950 ramp

primary
#8E1043
secondary
#37C38A
accent
#F6A732
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1043

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

Preview Lab → · Contrast checker → · Palette generator →

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