#8F174F#8F174F

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

Color values

HEX#8F174F
RGBrgb(143, 23, 79)
HSLhsl(332, 72%, 33%)
HSVhsv(332, 84%, 56%)
CMYKcmyk(0%, 83.9%, 44.8%, 43.9%)
CIE-LABlab(31.85, 51.67, -1.49)
CIE-LCHlch(31.85, 51.70, 358.35°)
OKLaboklab(43.34% 0.1591 -0.0033)
OKLCHoklch(43.34% 0.159 358.8)
XYZxyz(13.0464, 7.0187, 8.0634)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F174F #178F57
analogous
#8F178B #8F174F #8F1B17
triadic
#8F174F #4F8F17 #174F8F
tetradic
#8F174F #8B8F17 #178F57 #1B178F
square
#8F174F #8B8F17 #178F57 #1B178F
split-complementary
#8F174F #178F1B #178B8F
monochromatic
#260615 #5A0F32 #8F174F #C41F6C #E0408B

Accessibility & contrast

On white

8.74
#8F174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F174F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F174F#FFFFFF#000000##FFFFFF
##8F174F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D50
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#9C0031
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f174f;
/* rgb */ color: rgb(143, 23, 79);
/* oklch */ color: oklch(43.3% 0.159 358.8);
Tailwind
colors: {
  custom: {
    50: '#b56480',
    500: '#8f174f',
    950: '#000000',
  },
}
SCSS
$custom: #8f174f;
$custom-light: #b56480;
$custom-dark: #000000;
JSON
{
  "hex": "#8f174f",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 332,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.15908,
    "h": 358.8
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#8F174F
secondary
#41C185
accent
#EF9A39
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F174F

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

Preview Lab → · Contrast checker → · Palette generator →

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