#8E1045#8E1045

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

Color values

HEX#8E1045
RGBrgb(142, 16, 69)
HSLhsl(335, 80%, 31%)
HSVhsv(335, 89%, 56%)
CMYKcmyk(0%, 88.7%, 51.4%, 44.3%)
CIE-LABlab(30.77, 52.12, 3.52)
CIE-LCHlch(30.77, 52.24, 3.87°)
OKLaboklab(42.41% 0.16 0.0095)
OKLCHoklch(42.41% 0.16 3.4)
XYZxyz(12.4159, 6.5528, 6.2401)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1045 #108E59
analogous
#8E1084 #8E1045 #8E1A10
triadic
#8E1045 #458E10 #10458E
tetradic
#8E1045 #848E10 #108E59 #1A108E
square
#8E1045 #848E10 #108E59 #1A108E
split-complementary
#8E1045 #108E1A #10848E
monochromatic
#200410 #570A2A #8E1045 #C51660 #E8317E

Accessibility & contrast

On white

9.09
#8E1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1045
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1045#FFFFFF#000000##FFFFFF
##8E10451.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1045;
/* rgb */ color: rgb(142, 16, 69);
/* oklch */ color: oklch(42.4% 0.160 3.4);
Tailwind
colors: {
  custom: {
    50: '#b56178',
    500: '#8e1045',
    950: '#000000',
  },
}
SCSS
$custom: #8e1045;
$custom-light: #b56178;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1045",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 334.762,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.16025,
    "h": 3.4
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#8E1045
secondary
#37C388
accent
#F6A432
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1045

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

Preview Lab → · Contrast checker → · Palette generator →

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