#8F1F4C#8F1F4C

#8F1F4C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.151 H 1.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8F1F4C
RGBrgb(143, 31, 76)
HSLhsl(336, 64%, 34%)
HSVhsv(336, 78%, 56%)
CMYKcmyk(0%, 78.3%, 46.9%, 43.9%)
CIE-LABlab(32.58, 49.05, 1.54)
CIE-LCHlch(32.58, 49.07, 1.80°)
OKLaboklab(43.84% 0.1505 0.0045)
OKLCHoklch(43.84% 0.151 1.7)
XYZxyz(13.1233, 7.3432, 7.5624)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F4C #1F8F62
analogous
#8F1F84 #8F1F4C #8F2A1F
triadic
#8F1F4C #4C8F1F #1F4C8F
tetradic
#8F1F4C #848F1F #1F8F62 #2A1F8F
square
#8F1F4C #848F1F #1F8F62 #2A1F8F
split-complementary
#8F1F4C #1F8F2A #1F848F
monochromatic
#2A0917 #5D1431 #8F1F4C #C12A67 #D94F87

Accessibility & contrast

On white

8.51
#8F1F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F1F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F4C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F4C#FFFFFF#000000##FFFFFF
##8F1F4C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4D
Deuteranopia (green-blind)
#575449
Tritanopia (blue-blind)
#9C0633
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1f4c;
/* rgb */ color: rgb(143, 31, 76);
/* oklch */ color: oklch(43.8% 0.151 1.7);
Tailwind
colors: {
  custom: {
    50: '#b5667d',
    500: '#8f1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f4c;
$custom-light: #b5667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f4c",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 335.893,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43844,
    "c": 0.15056,
    "h": 1.7
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#8F1F4C
secondary
#4EBC90
accent
#E7A440
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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