#8F1247#8F1247

#8F1247 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.160 H 2.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#8F1247
RGBrgb(143, 18, 71)
HSLhsl(335, 78%, 32%)
HSVhsv(335, 87%, 56%)
CMYKcmyk(0%, 87.4%, 50.3%, 43.9%)
CIE-LABlab(31.18, 52.13, 2.82)
CIE-LCHlch(31.18, 52.21, 3.10°)
OKLaboklab(42.77% 0.1601 0.0077)
OKLCHoklch(42.77% 0.16 2.8)
XYZxyz(12.6825, 6.7290, 6.5910)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1247 #128F5A
analogous
#8F1286 #8F1247 #8F1C12
triadic
#8F1247 #478F12 #12478F
tetradic
#8F1247 #868F12 #128F5A #1C128F
square
#8F1247 #868F12 #128F5A #1C128F
split-complementary
#8F1247 #128F1C #12868F
monochromatic
#220411 #590B2C #8F1247 #C51962 #E63680

Accessibility & contrast

On white

8.95
#8F1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1247
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1247#FFFFFF#000000##FFFFFF
##8F12471.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1247;
/* rgb */ color: rgb(143, 18, 71);
/* oklch */ color: oklch(42.8% 0.160 2.8);
Tailwind
colors: {
  custom: {
    50: '#b6627a',
    500: '#8f1247',
    950: '#000000',
  },
}
SCSS
$custom: #8f1247;
$custom-light: #b6627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1247",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 334.56,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.16029,
    "h": 2.8
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#8F1247
secondary
#3AC389
accent
#F4A334
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1247

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

Preview Lab → · Contrast checker → · Palette generator →

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