#8E1351#8E1351

#8E1351 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.162 H 357.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8E1351
RGBrgb(142, 19, 81)
HSLhsl(330, 76%, 32%)
HSVhsv(330, 87%, 56%)
CMYKcmyk(0%, 86.6%, 43%, 44.3%)
CIE-LABlab(31.38, 52.58, -3.53)
CIE-LCHlch(31.38, 52.70, 356.16°)
OKLaboklab(42.98% 0.162 -0.0086)
OKLCHoklch(42.98% 0.162 357)
XYZxyz(12.8744, 6.8123, 8.4200)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1351 #138E50
analogous
#8E138E #8E1351 #8E1314
triadic
#8E1351 #518E13 #13518E
tetradic
#8E1351 #8E8E13 #138E50 #13148E
square
#8E1351 #8E8E13 #138E50 #13148E
split-complementary
#8E1351 #148E13 #138E8E
monochromatic
#220513 #580C32 #8E1351 #C41A70 #E4378E

Accessibility & contrast

On white

8.89
#8E1351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E1351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1351
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1351#FFFFFF#000000##FFFFFF
##8E13511.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B52
Deuteranopia (green-blind)
#53524E
Tritanopia (blue-blind)
#9A0031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1351;
/* rgb */ color: rgb(142, 19, 81);
/* oklch */ color: oklch(43.0% 0.162 357.0);
Tailwind
colors: {
  custom: {
    50: '#b46281',
    500: '#8e1351',
    950: '#000000',
  },
}
SCSS
$custom: #8e1351;
$custom-light: #b46281;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1351",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 329.756,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.16224,
    "h": 357
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#8E1351
secondary
#3BC27E
accent
#F39335
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1351

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

Preview Lab → · Contrast checker → · Palette generator →

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