#8F1F4E#8F1F4E

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

Color values

HEX#8F1F4E
RGBrgb(143, 31, 78)
HSLhsl(335, 64%, 34%)
HSVhsv(335, 78%, 56%)
CMYKcmyk(0%, 78.3%, 45.5%, 43.9%)
CIE-LABlab(32.64, 49.24, 0.32)
CIE-LCHlch(32.64, 49.24, 0.37°)
OKLaboklab(43.91% 0.1512 0.0014)
OKLCHoklch(43.91% 0.151 0.5)
XYZxyz(13.1939, 7.3714, 7.9343)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F4E #1F8F60
analogous
#8F1F86 #8F1F4E #8F281F
triadic
#8F1F4E #4E8F1F #1F4E8F
tetradic
#8F1F4E #868F1F #1F8F60 #281F8F
square
#8F1F4E #868F1F #1F8F60 #281F8F
split-complementary
#8F1F4E #1F8F28 #1F868F
monochromatic
#2A0917 #5D1433 #8F1F4E #C12A69 #D94F89

Accessibility & contrast

On white

8.49
#8F1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1F4E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F4E#FFFFFF#000000##FFFFFF
##8F1F4E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393F4F
Deuteranopia (green-blind)
#57554B
Tritanopia (blue-blind)
#9C0834
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1f4e;
/* rgb */ color: rgb(143, 31, 78);
/* oklch */ color: oklch(43.9% 0.151 0.5);
Tailwind
colors: {
  custom: {
    50: '#b5667f',
    500: '#8f1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f4e;
$custom-light: #b5667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f4e",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 334.821,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.15122,
    "h": 0.5
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#8F1F4E
secondary
#4EBC8E
accent
#E7A140
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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