#8F173F#8F173F

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

Color values

HEX#8F173F
RGBrgb(143, 23, 63)
HSLhsl(340, 72%, 33%)
HSVhsv(340, 84%, 56%)
CMYKcmyk(0%, 83.9%, 55.9%, 43.9%)
CIE-LABlab(31.38, 50.27, 8.40)
CIE-LCHlch(31.38, 50.97, 9.49°)
OKLaboklab(42.84% 0.1532 0.0214)
OKLCHoklch(42.84% 0.155 8)
XYZxyz(12.5325, 6.8132, 5.3568)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F173F #178F67
analogous
#8F177B #8F173F #8F2B17
triadic
#8F173F #3F8F17 #173F8F
tetradic
#8F173F #7B8F17 #178F67 #2B178F
square
#8F173F #7B8F17 #178F67 #2B178F
split-complementary
#8F173F #178F2B #177B8F
monochromatic
#260611 #5A0F28 #8F173F #C41F56 #E04076

Accessibility & contrast

On white

8.89
#8F173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F173F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F173F#FFFFFF#000000##FFFFFF
##8F173F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f173f;
/* rgb */ color: rgb(143, 23, 63);
/* oklch */ color: oklch(42.8% 0.155 8.0);
Tailwind
colors: {
  custom: {
    50: '#b66373',
    500: '#8f173f',
    950: '#000000',
  },
}
SCSS
$custom: #8f173f;
$custom-light: #b66373;
$custom-dark: #000000;
JSON
{
  "hex": "#8f173f",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 340,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42844,
    "c": 0.15465,
    "h": 8
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#8F173F
secondary
#41C196
accent
#EFB239
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F173F

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

Preview Lab → · Contrast checker → · Palette generator →

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