#8F1F4A#8F1F4A

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

Color values

HEX#8F1F4A
RGBrgb(143, 31, 74)
HSLhsl(337, 64%, 34%)
HSVhsv(337, 78%, 56%)
CMYKcmyk(0%, 78.3%, 48.3%, 43.9%)
CIE-LABlab(32.52, 48.86, 2.76)
CIE-LCHlch(32.52, 48.94, 3.24°)
OKLaboklab(43.78% 0.1498 0.0076)
OKLCHoklch(43.78% 0.15 2.9)
XYZxyz(13.0548, 7.3158, 7.2019)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F4A #1F8F64
analogous
#8F1F82 #8F1F4A #8F2C1F
triadic
#8F1F4A #4A8F1F #1F4A8F
tetradic
#8F1F4A #828F1F #1F8F64 #2C1F8F
square
#8F1F4A #828F1F #1F8F64 #2C1F8F
split-complementary
#8F1F4A #1F8F2C #1F828F
monochromatic
#2A0916 #5D1430 #8F1F4A #C12A64 #D94F84

Accessibility & contrast

On white

8.53
#8F1F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8F1F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F4A
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F4A#FFFFFF#000000##FFFFFF
##8F1F4A1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4B
Deuteranopia (green-blind)
#585447
Tritanopia (blue-blind)
#9C0432
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f1f4a;
/* rgb */ color: rgb(143, 31, 74);
/* oklch */ color: oklch(43.8% 0.150 2.9);
Tailwind
colors: {
  custom: {
    50: '#b5667c',
    500: '#8f1f4a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f4a;
$custom-light: #b5667c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f4a",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 74
  },
  "hsl": {
    "h": 336.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.14995,
    "h": 2.9
  },
  "luminance": 0.07314
}

Semantic roles & 50–950 ramp

primary
#8F1F4A
secondary
#4EBC92
accent
#E7A740
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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