#8F1F5D#8F1F5D

#8F1F5D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.158 H 351.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8F1F5D
RGBrgb(143, 31, 93)
HSLhsl(327, 64%, 34%)
HSVhsv(327, 78%, 56%)
CMYKcmyk(0%, 78.3%, 35%, 43.9%)
CIE-LABlab(33.16, 50.86, -8.66)
CIE-LCHlch(33.16, 51.59, 350.34°)
OKLaboklab(44.46% 0.1559 -0.0224)
OKLCHoklch(44.46% 0.158 351.8)
XYZxyz(13.7943, 7.6116, 11.0966)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F5D #1F8F51
analogous
#891F8F #8F1F5D #8F1F25
triadic
#8F1F5D #5D8F1F #1F5D8F
tetradic
#8F1F5D #8F891F #1F8F51 #1F258F
square
#8F1F5D #8F891F #1F8F51 #1F258F
split-complementary
#8F1F5D #258F1F #1F8F89
monochromatic
#2A091C #5D143C #8F1F5D #C12A7E #D94F9C

Accessibility & contrast

On white

8.33
#8F1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F5D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F5D#FFFFFF#000000##FFFFFF
##8F1F5D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415F
Deuteranopia (green-blind)
#54555A
Tritanopia (blue-blind)
#9A153B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1f5d;
/* rgb */ color: rgb(143, 31, 93);
/* oklch */ color: oklch(44.5% 0.158 351.8);
Tailwind
colors: {
  custom: {
    50: '#b4678a',
    500: '#8f1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f5d;
$custom-light: #b4678a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f5d",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 326.786,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.15753,
    "h": 351.8
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#8F1F5D
secondary
#4EBC7F
accent
#E78B40
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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