#8F173A#8F173A

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

Color values

HEX#8F173A
RGBrgb(143, 23, 58)
HSLhsl(343, 72%, 33%)
HSVhsv(343, 84%, 56%)
CMYKcmyk(0%, 83.9%, 59.4%, 43.9%)
CIE-LABlab(31.25, 49.90, 11.54)
CIE-LCHlch(31.25, 51.22, 13.02°)
OKLaboklab(42.71% 0.1512 0.0288)
OKLCHoklch(42.71% 0.154 10.8)
XYZxyz(12.3991, 6.7598, 4.6541)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F173A #178F6C
analogous
#8F1776 #8F173A #8F3017
triadic
#8F173A #3A8F17 #173A8F
tetradic
#8F173A #768F17 #178F6C #30178F
square
#8F173A #768F17 #178F6C #30178F
split-complementary
#8F173A #178F30 #17768F
monochromatic
#26060F #5A0F25 #8F173A #C41F4F #E0406F

Accessibility & contrast

On white

8.93
#8F173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F173A
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F173A#FFFFFF#000000##FFFFFF
##8F173A1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3B
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#9D0027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f173a;
/* rgb */ color: rgb(143, 23, 58);
/* oklch */ color: oklch(42.7% 0.154 10.8);
Tailwind
colors: {
  custom: {
    50: '#b6636f',
    500: '#8f173a',
    950: '#000000',
  },
}
SCSS
$custom: #8f173a;
$custom-light: #b6636f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f173a",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 342.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42712,
    "c": 0.15387,
    "h": 10.8
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#8F173A
secondary
#41C19B
accent
#EFBA39
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F173A

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

Preview Lab → · Contrast checker → · Palette generator →

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