#8F174B#8F174B

#8F174B is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.158 H 1.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8F174B
RGBrgb(143, 23, 75)
HSLhsl(334, 72%, 33%)
HSVhsv(334, 84%, 56%)
CMYKcmyk(0%, 83.9%, 47.6%, 43.9%)
CIE-LABlab(31.72, 51.29, 0.96)
CIE-LCHlch(31.72, 51.30, 1.07°)
OKLaboklab(43.21% 0.1577 0.003)
OKLCHoklch(43.21% 0.158 1.1)
XYZxyz(12.9052, 6.9622, 7.3195)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F174B #178F5B
analogous
#8F1787 #8F174B #8F1F17
triadic
#8F174B #4B8F17 #174B8F
tetradic
#8F174B #878F17 #178F5B #1F178F
square
#8F174B #878F17 #178F5B #1F178F
split-complementary
#8F174B #178F1F #17878F
monochromatic
#260614 #5A0F2F #8F174B #C41F67 #E04086

Accessibility & contrast

On white

8.78
#8F174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8F174B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F174B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F174B#FFFFFF#000000##FFFFFF
##8F174B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#565348
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f174b;
/* rgb */ color: rgb(143, 23, 75);
/* oklch */ color: oklch(43.2% 0.158 1.1);
Tailwind
colors: {
  custom: {
    50: '#b5637d',
    500: '#8f174b',
    950: '#000000',
  },
}
SCSS
$custom: #8f174b;
$custom-light: #b5637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f174b",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 334,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.1577,
    "h": 1.1
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#8F174B
secondary
#41C189
accent
#EFA039
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F174B

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

Preview Lab → · Contrast checker → · Palette generator →

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