#8F173C#8F173C

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

Color values

HEX#8F173C
RGBrgb(143, 23, 60)
HSLhsl(342, 72%, 33%)
HSVhsv(342, 84%, 56%)
CMYKcmyk(0%, 83.9%, 58%, 43.9%)
CIE-LABlab(31.30, 50.05, 10.28)
CIE-LCHlch(31.30, 51.09, 11.61°)
OKLaboklab(42.76% 0.152 0.0259)
OKLCHoklch(42.76% 0.154 9.7)
XYZxyz(12.4509, 6.7805, 4.9272)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F173C #178F6A
analogous
#8F1778 #8F173C #8F2E17
triadic
#8F173C #3C8F17 #173C8F
tetradic
#8F173C #788F17 #178F6A #2E178F
square
#8F173C #788F17 #178F6A #2E178F
split-complementary
#8F173C #178F2E #17788F
monochromatic
#260610 #5A0F26 #8F173C #C41F52 #E04071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F173C#FFFFFF#000000##FFFFFF
##8F173C1.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)
#393A3D
Deuteranopia (green-blind)
#585239
Tritanopia (blue-blind)
#9D0028
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f173c;
/* rgb */ color: rgb(143, 23, 60);
/* oklch */ color: oklch(42.8% 0.154 9.7);
Tailwind
colors: {
  custom: {
    50: '#b66371',
    500: '#8f173c',
    950: '#000000',
  },
}
SCSS
$custom: #8f173c;
$custom-light: #b66371;
$custom-dark: #000000;
JSON
{
  "hex": "#8f173c",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 341.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42763,
    "c": 0.15415,
    "h": 9.7
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#8F173C
secondary
#41C199
accent
#EFB739
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8F173C

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

Preview Lab → · Contrast checker → · Palette generator →

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