#8F1847#8F1847

#8F1847 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.156 H 3.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8F1847
RGBrgb(143, 24, 71)
HSLhsl(336, 71%, 33%)
HSVhsv(336, 83%, 56%)
CMYKcmyk(0%, 83.2%, 50.3%, 43.9%)
CIE-LABlab(31.69, 50.67, 3.55)
CIE-LCHlch(31.69, 50.80, 4.01°)
OKLaboklab(43.15% 0.1554 0.0096)
OKLCHoklch(43.15% 0.156 3.5)
XYZxyz(12.7928, 6.9496, 6.6278)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1847 #188F60
analogous
#8F1882 #8F1847 #8F2518
triadic
#8F1847 #478F18 #18478F
tetradic
#8F1847 #828F18 #188F60 #25188F
square
#8F1847 #828F18 #188F60 #25188F
split-complementary
#8F1847 #188F25 #18828F
monochromatic
#260613 #5B0F2D #8F1847 #C32161 #DF4280

Accessibility & contrast

On white

8.79
#8F1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1847
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1847#FFFFFF#000000##FFFFFF
##8F18471.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9C002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1847;
/* rgb */ color: rgb(143, 24, 71);
/* oklch */ color: oklch(43.1% 0.156 3.5);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8f1847',
    950: '#000000',
  },
}
SCSS
$custom: #8f1847;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1847",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 336.303,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43146,
    "c": 0.15567,
    "h": 3.5
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#8F1847
secondary
#43C08F
accent
#EEA73A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1847

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

Preview Lab → · Contrast checker → · Palette generator →

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