#8E173E#8E173E

#8E173E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 8.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8E173E
RGBrgb(142, 23, 62)
HSLhsl(340, 72%, 32%)
HSVhsv(340, 84%, 56%)
CMYKcmyk(0%, 83.8%, 56.3%, 44.3%)
CIE-LABlab(31.14, 49.92, 8.71)
CIE-LCHlch(31.14, 50.67, 9.90°)
OKLaboklab(42.63% 0.152 0.0222)
OKLCHoklch(42.63% 0.154 8.3)
XYZxyz(12.3324, 6.7132, 5.2029)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E173E #178E67
analogous
#8E177A #8E173E #8E2B17
triadic
#8E173E #3E8E17 #173E8E
tetradic
#8E173E #7A8E17 #178E67 #2B178E
square
#8E173E #7A8E17 #178E67 #2B178E
split-complementary
#8E173E #178E2B #177A8E
monochromatic
#250610 #590E27 #8E173E #C32055 #E03F74

Accessibility & contrast

On white

8.97
#8E173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E173E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E173E#FFFFFF#000000##FFFFFF
##8E173E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3F
Deuteranopia (green-blind)
#57523B
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e173e;
/* rgb */ color: rgb(142, 23, 62);
/* oklch */ color: oklch(42.6% 0.154 8.3);
Tailwind
colors: {
  custom: {
    50: '#b56372',
    500: '#8e173e',
    950: '#000000',
  },
}
SCSS
$custom: #8e173e;
$custom-light: #b56372;
$custom-dark: #000000;
JSON
{
  "hex": "#8e173e",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 340.336,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.15358,
    "h": 8.3
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#8E173E
secondary
#40C096
accent
#EFB339
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E173E

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

Preview Lab → · Contrast checker → · Palette generator →

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