#8F1D47#8F1D47

#8F1D47 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.151 H 4.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8F1D47
RGBrgb(143, 29, 71)
HSLhsl(338, 66%, 34%)
HSVhsv(338, 80%, 56%)
CMYKcmyk(0%, 79.7%, 50.3%, 43.9%)
CIE-LABlab(32.20, 49.22, 4.28)
CIE-LCHlch(32.20, 49.41, 4.97°)
OKLaboklab(43.52% 0.1507 0.0114)
OKLCHoklch(43.52% 0.151 4.3)
XYZxyz(12.9055, 7.1751, 6.6654)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D47 #1D8F65
analogous
#8F1D80 #8F1D47 #8F2C1D
triadic
#8F1D47 #478F1D #1D478F
tetradic
#8F1D47 #808F1D #1D8F65 #2C1D8F
square
#8F1D47 #808F1D #1D8F65 #2C1D8F
split-complementary
#8F1D47 #1D8F2C #1D808F
monochromatic
#290814 #5C132E #8F1D47 #C22760 #DB4C80

Accessibility & contrast

On white

8.63
#8F1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8F1D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D47
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D47#FFFFFF#000000##FFFFFF
##8F1D471.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D48
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f1d47;
/* rgb */ color: rgb(143, 29, 71);
/* oklch */ color: oklch(43.5% 0.151 4.3);
Tailwind
colors: {
  custom: {
    50: '#b5657a',
    500: '#8f1d47',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d47;
$custom-light: #b5657a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d47",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 337.895,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.15112,
    "h": 4.3
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#8F1D47
secondary
#4BBD93
accent
#E9AA3F
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1D47

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

Preview Lab → · Contrast checker → · Palette generator →

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