#8F1F4F#8F1F4F

#8F1F4F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.152 H 359.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8F1F4F
RGBrgb(143, 31, 79)
HSLhsl(334, 64%, 34%)
HSVhsv(334, 78%, 56%)
CMYKcmyk(0%, 78.3%, 44.8%, 43.9%)
CIE-LABlab(32.67, 49.34, -0.29)
CIE-LCHlch(32.67, 49.34, 359.67°)
OKLaboklab(43.94% 0.1516 -0.0002)
OKLCHoklch(43.94% 0.152 359.9)
XYZxyz(13.2300, 7.3859, 8.1246)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F4F #1F8F5F
analogous
#8F1F87 #8F1F4F #8F271F
triadic
#8F1F4F #4F8F1F #1F4F8F
tetradic
#8F1F4F #878F1F #1F8F5F #271F8F
square
#8F1F4F #878F1F #1F8F5F #271F8F
split-complementary
#8F1F4F #1F8F27 #1F878F
monochromatic
#2A0917 #5D1433 #8F1F4F #C12A6B #D94F8A

Accessibility & contrast

On white

8.48
#8F1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F4F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F4F#FFFFFF#000000##FFFFFF
##8F1F4F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F50
Deuteranopia (green-blind)
#57554C
Tritanopia (blue-blind)
#9B0934
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1f4f;
/* rgb */ color: rgb(143, 31, 79);
/* oklch */ color: oklch(43.9% 0.152 359.9);
Tailwind
colors: {
  custom: {
    50: '#b56680',
    500: '#8f1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f4f;
$custom-light: #b56680;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f4f",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 334.286,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.15156,
    "h": 359.9
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#8F1F4F
secondary
#4EBC8D
accent
#E7A040
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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