#8F1F40#8F1F40

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

Color values

HEX#8F1F40
RGBrgb(143, 31, 64)
HSLhsl(342, 64%, 34%)
HSVhsv(342, 78%, 56%)
CMYKcmyk(0%, 78.3%, 55.2%, 43.9%)
CIE-LABlab(32.24, 47.99, 8.94)
CIE-LCHlch(32.24, 48.81, 10.56°)
OKLaboklab(43.49% 0.1459 0.0228)
OKLCHoklch(43.49% 0.148 8.9)
XYZxyz(12.7443, 7.1916, 5.5665)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F40 #1F8F6E
analogous
#8F1F78 #8F1F40 #8F361F
triadic
#8F1F40 #408F1F #1F408F
tetradic
#8F1F40 #788F1F #1F8F6E #361F8F
square
#8F1F40 #788F1F #1F8F6E #361F8F
split-complementary
#8F1F40 #1F8F36 #1F788F
monochromatic
#2A0913 #5D1429 #8F1F40 #C12A57 #D94F78

Accessibility & contrast

On white

8.61
#8F1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8F1F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F40
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F40#FFFFFF#000000##FFFFFF
##8F1F401.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#59543D
Tritanopia (blue-blind)
#9C002D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f1f40;
/* rgb */ color: rgb(143, 31, 64);
/* oklch */ color: oklch(43.5% 0.148 8.9);
Tailwind
colors: {
  custom: {
    50: '#b66674',
    500: '#8f1f40',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f40;
$custom-light: #b66674;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f40",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 342.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43486,
    "c": 0.14767,
    "h": 8.9
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#8F1F40
secondary
#4EBC9B
accent
#E7B640
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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