#8F1F4B#8F1F4B

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

Color values

HEX#8F1F4B
RGBrgb(143, 31, 75)
HSLhsl(336, 64%, 34%)
HSVhsv(336, 78%, 56%)
CMYKcmyk(0%, 78.3%, 47.6%, 43.9%)
CIE-LABlab(32.55, 48.95, 2.15)
CIE-LCHlch(32.55, 49.00, 2.52°)
OKLaboklab(43.81% 0.1501 0.0061)
OKLCHoklch(43.81% 0.15 2.3)
XYZxyz(13.0888, 7.3294, 7.3807)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F4B #1F8F63
analogous
#8F1F83 #8F1F4B #8F2B1F
triadic
#8F1F4B #4B8F1F #1F4B8F
tetradic
#8F1F4B #838F1F #1F8F63 #2B1F8F
square
#8F1F4B #838F1F #1F8F63 #2B1F8F
split-complementary
#8F1F4B #1F8F2B #1F838F
monochromatic
#2A0916 #5D1431 #8F1F4B #C12A65 #D94F85

Accessibility & contrast

On white

8.52
#8F1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1F4B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F4B#FFFFFF#000000##FFFFFF
##8F1F4B1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#585448
Tritanopia (blue-blind)
#9C0532
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1f4b;
/* rgb */ color: rgb(143, 31, 75);
/* oklch */ color: oklch(43.8% 0.150 2.3);
Tailwind
colors: {
  custom: {
    50: '#b5667d',
    500: '#8f1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f4b;
$custom-light: #b5667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f4b",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 336.429,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43812,
    "c": 0.15025,
    "h": 2.3
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#8F1F4B
secondary
#4EBC91
accent
#E7A640
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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