#8E1333#8E1333

#8E1333 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.155 H 13.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8E1333
RGBrgb(142, 19, 51)
HSLhsl(344, 76%, 32%)
HSVhsv(344, 87%, 56%)
CMYKcmyk(0%, 86.6%, 64.1%, 44.3%)
CIE-LABlab(30.54, 50.15, 15.19)
CIE-LCHlch(30.54, 52.40, 16.85°)
OKLaboklab(42.1% 0.1507 0.0369)
OKLCHoklch(42.1% 0.155 13.8)
XYZxyz(11.9870, 6.4574, 3.7466)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1333 #138E6E
analogous
#8E1371 #8E1333 #8E3013
triadic
#8E1333 #338E13 #13338E
tetradic
#8E1333 #718E13 #138E6E #30138E
square
#8E1333 #718E13 #138E6E #30138E
split-complementary
#8E1333 #138E30 #13718E
monochromatic
#22050C #580C20 #8E1333 #C41A46 #E43764

Accessibility & contrast

On white

9.17
#8E1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8E1333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1333
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1333#FFFFFF#000000##FFFFFF
##8E13331.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393833
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1333;
/* rgb */ color: rgb(142, 19, 51);
/* oklch */ color: oklch(42.1% 0.155 13.8);
Tailwind
colors: {
  custom: {
    50: '#b6616a',
    500: '#8e1333',
    950: '#000000',
  },
}
SCSS
$custom: #8e1333;
$custom-light: #b6616a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1333",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 344.39,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42097,
    "c": 0.15518,
    "h": 13.8
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#8E1333
secondary
#3BC29F
accent
#F3C135
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1333

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

Preview Lab → · Contrast checker → · Palette generator →

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