#8F1740#8F1740

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

Color values

HEX#8F1740
RGBrgb(143, 23, 64)
HSLhsl(340, 72%, 33%)
HSVhsv(340, 84%, 56%)
CMYKcmyk(0%, 83.9%, 55.2%, 43.9%)
CIE-LABlab(31.40, 50.35, 7.78)
CIE-LCHlch(31.40, 50.95, 8.78°)
OKLaboklab(42.87% 0.1536 0.0199)
OKLCHoklch(42.87% 0.155 7.4)
XYZxyz(12.5607, 6.8244, 5.5053)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1740 #178F66
analogous
#8F177C #8F1740 #8F2A17
triadic
#8F1740 #408F17 #17408F
tetradic
#8F1740 #7C8F17 #178F66 #2A178F
square
#8F1740 #7C8F17 #178F66 #2A178F
split-complementary
#8F1740 #178F2A #177C8F
monochromatic
#260611 #5A0F28 #8F1740 #C41F58 #E04077

Accessibility & contrast

On white

8.88
#8F1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8F1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1740
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1740#FFFFFF#000000##FFFFFF
##8F17401.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58523D
Tritanopia (blue-blind)
#9D002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1740;
/* rgb */ color: rgb(143, 23, 64);
/* oklch */ color: oklch(42.9% 0.155 7.4);
Tailwind
colors: {
  custom: {
    50: '#b66374',
    500: '#8f1740',
    950: '#000000',
  },
}
SCSS
$custom: #8f1740;
$custom-light: #b66374;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1740",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 339.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42871,
    "c": 0.15484,
    "h": 7.4
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#8F1740
secondary
#41C195
accent
#EFB139
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1740

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

Preview Lab → · Contrast checker → · Palette generator →

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