#8F173E#8F173E

#8F173E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 8.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8F173E
RGBrgb(143, 23, 62)
HSLhsl(341, 72%, 33%)
HSVhsv(341, 84%, 56%)
CMYKcmyk(0%, 83.9%, 56.6%, 43.9%)
CIE-LABlab(31.35, 50.20, 9.03)
CIE-LCHlch(31.35, 51.00, 10.20°)
OKLaboklab(42.82% 0.1528 0.0229)
OKLCHoklch(42.82% 0.154 8.5)
XYZxyz(12.5048, 6.8021, 5.2110)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F173E #178F68
analogous
#8F177A #8F173E #8F2C17
triadic
#8F173E #3E8F17 #173E8F
tetradic
#8F173E #7A8F17 #178F68 #2C178F
square
#8F173E #7A8F17 #178F68 #2C178F
split-complementary
#8F173E #178F2C #177A8F
monochromatic
#260610 #5A0F27 #8F173E #C41F55 #E04074

Accessibility & contrast

On white

8.90
#8F173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F173E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F173E#FFFFFF#000000##FFFFFF
##8F173E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3F
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#9D0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f173e;
/* rgb */ color: rgb(143, 23, 62);
/* oklch */ color: oklch(42.8% 0.154 8.5);
Tailwind
colors: {
  custom: {
    50: '#b66372',
    500: '#8f173e',
    950: '#000000',
  },
}
SCSS
$custom: #8f173e;
$custom-light: #b66372;
$custom-dark: #000000;
JSON
{
  "hex": "#8f173e",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 340.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.15447,
    "h": 8.5
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#8F173E
secondary
#41C197
accent
#EFB439
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F173E

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

Preview Lab → · Contrast checker → · Palette generator →

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