#8F1743#8F1743

#8F1743 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 5.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8F1743
RGBrgb(143, 23, 67)
HSLhsl(338, 72%, 33%)
HSVhsv(338, 84%, 56%)
CMYKcmyk(0%, 83.9%, 53.1%, 43.9%)
CIE-LABlab(31.48, 50.60, 5.90)
CIE-LCHlch(31.48, 50.94, 6.65°)
OKLaboklab(42.96% 0.1547 0.0154)
OKLCHoklch(42.96% 0.155 5.7)
XYZxyz(12.6484, 6.8595, 5.9671)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1743 #178F63
analogous
#8F177F #8F1743 #8F2717
triadic
#8F1743 #438F17 #17438F
tetradic
#8F1743 #7F8F17 #178F63 #27178F
square
#8F1743 #7F8F17 #178F63 #27178F
split-complementary
#8F1743 #178F27 #177F8F
monochromatic
#260612 #5A0F2A #8F1743 #C41F5C #E0407B

Accessibility & contrast

On white

8.85
#8F1743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1743
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1743#FFFFFF#000000##FFFFFF
##8F17431.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B44
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1743;
/* rgb */ color: rgb(143, 23, 67);
/* oklch */ color: oklch(43.0% 0.155 5.7);
Tailwind
colors: {
  custom: {
    50: '#b66376',
    500: '#8f1743',
    950: '#000000',
  },
}
SCSS
$custom: #8f1743;
$custom-light: #b66376;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1743",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 67
  },
  "hsl": {
    "h": 338,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42957,
    "c": 0.15548,
    "h": 5.7
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#8F1743
secondary
#41C192
accent
#EFAC39
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1743

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

Preview Lab → · Contrast checker → · Palette generator →

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