#8F173D#8F173D

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

Color values

HEX#8F173D
RGBrgb(143, 23, 61)
HSLhsl(341, 72%, 33%)
HSVhsv(341, 84%, 56%)
CMYKcmyk(0%, 83.9%, 57.3%, 43.9%)
CIE-LABlab(31.33, 50.12, 9.66)
CIE-LCHlch(31.33, 51.04, 10.90°)
OKLaboklab(42.79% 0.1524 0.0244)
OKLCHoklch(42.79% 0.154 9.1)
XYZxyz(12.4776, 6.7912, 5.0678)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F173D #178F69
analogous
#8F1779 #8F173D #8F2D17
triadic
#8F173D #3D8F17 #173D8F
tetradic
#8F173D #798F17 #178F69 #2D178F
square
#8F173D #798F17 #178F69 #2D178F
split-complementary
#8F173D #178F2D #17798F
monochromatic
#260610 #5A0F27 #8F173D #C41F53 #E04073

Accessibility & contrast

On white

8.91
#8F173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F173D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F173D#FFFFFF#000000##FFFFFF
##8F173D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3E
Deuteranopia (green-blind)
#58523A
Tritanopia (blue-blind)
#9D0028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f173d;
/* rgb */ color: rgb(143, 23, 61);
/* oklch */ color: oklch(42.8% 0.154 9.1);
Tailwind
colors: {
  custom: {
    50: '#b66372',
    500: '#8f173d',
    950: '#000000',
  },
}
SCSS
$custom: #8f173d;
$custom-light: #b66372;
$custom-dark: #000000;
JSON
{
  "hex": "#8f173d",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 341,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.1543,
    "h": 9.1
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#8F173D
secondary
#41C198
accent
#EFB539
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F173D

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

Preview Lab → · Contrast checker → · Palette generator →

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