#8F1742#8F1742

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

Color values

HEX#8F1742
RGBrgb(143, 23, 66)
HSLhsl(339, 72%, 33%)
HSVhsv(339, 84%, 56%)
CMYKcmyk(0%, 83.9%, 53.8%, 43.9%)
CIE-LABlab(31.46, 50.51, 6.53)
CIE-LCHlch(31.46, 50.93, 7.36°)
OKLaboklab(42.93% 0.1543 0.0169)
OKLCHoklch(42.93% 0.155 6.3)
XYZxyz(12.6186, 6.8476, 5.8105)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1742 #178F64
analogous
#8F177E #8F1742 #8F2817
triadic
#8F1742 #428F17 #17428F
tetradic
#8F1742 #7E8F17 #178F64 #28178F
square
#8F1742 #7E8F17 #178F64 #28178F
split-complementary
#8F1742 #178F28 #177E8F
monochromatic
#260611 #5A0F2A #8F1742 #C41F5A #E0407A

Accessibility & contrast

On white

8.86
#8F1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8F1742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1742
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1742#FFFFFF#000000##FFFFFF
##8F17421.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1742;
/* rgb */ color: rgb(143, 23, 66);
/* oklch */ color: oklch(42.9% 0.155 6.3);
Tailwind
colors: {
  custom: {
    50: '#b66376',
    500: '#8f1742',
    950: '#000000',
  },
}
SCSS
$custom: #8f1742;
$custom-light: #b66376;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1742",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 338.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.15525,
    "h": 6.3
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#8F1742
secondary
#41C193
accent
#EFAE39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1742

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

Preview Lab → · Contrast checker → · Palette generator →

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