#8F174E#8F174E

#8F174E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.159 H 359.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8F174E
RGBrgb(143, 23, 78)
HSLhsl(333, 72%, 33%)
HSVhsv(333, 84%, 56%)
CMYKcmyk(0%, 83.9%, 45.5%, 43.9%)
CIE-LABlab(31.82, 51.58, -0.88)
CIE-LCHlch(31.82, 51.58, 359.02°)
OKLaboklab(43.31% 0.1587 -0.0017)
OKLCHoklch(43.31% 0.159 359.4)
XYZxyz(13.0103, 7.0043, 7.8731)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F174E #178F58
analogous
#8F178A #8F174E #8F1C17
triadic
#8F174E #4E8F17 #174E8F
tetradic
#8F174E #8A8F17 #178F58 #1C178F
square
#8F174E #8A8F17 #178F58 #1C178F
split-complementary
#8F174E #178F1C #178A8F
monochromatic
#260614 #5A0F31 #8F174E #C41F6B #E0408A

Accessibility & contrast

On white

8.75
#8F174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8F174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F174E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F174E#FFFFFF#000000##FFFFFF
##8F174E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#9C0031
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f174e;
/* rgb */ color: rgb(143, 23, 78);
/* oklch */ color: oklch(43.3% 0.159 359.4);
Tailwind
colors: {
  custom: {
    50: '#b5637f',
    500: '#8f174e',
    950: '#000000',
  },
}
SCSS
$custom: #8f174e;
$custom-light: #b5637f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f174e",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 332.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.15872,
    "h": 359.4
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#8F174E
secondary
#41C186
accent
#EF9B39
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F174E

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

Preview Lab → · Contrast checker → · Palette generator →

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