#8F1F48#8F1F48

#8F1F48 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.149 H 4.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8F1F48
RGBrgb(143, 31, 72)
HSLhsl(338, 64%, 34%)
HSVhsv(338, 78%, 56%)
CMYKcmyk(0%, 78.3%, 49.7%, 43.9%)
CIE-LABlab(32.46, 48.67, 3.99)
CIE-LCHlch(32.46, 48.84, 4.69°)
OKLaboklab(43.72% 0.149 0.0107)
OKLCHoklch(43.72% 0.149 4.1)
XYZxyz(12.9885, 7.2893, 6.8527)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F48 #1F8F66
analogous
#8F1F80 #8F1F48 #8F2E1F
triadic
#8F1F48 #488F1F #1F488F
tetradic
#8F1F48 #808F1F #1F8F66 #2E1F8F
square
#8F1F48 #808F1F #1F8F66 #2E1F8F
split-complementary
#8F1F48 #1F8F2E #1F808F
monochromatic
#2A0915 #5D142F #8F1F48 #C12A61 #D94F82

Accessibility & contrast

On white

8.55
#8F1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1F48
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F48#FFFFFF#000000##FFFFFF
##8F1F481.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#9C0331
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f1f48;
/* rgb */ color: rgb(143, 31, 72);
/* oklch */ color: oklch(43.7% 0.149 4.1);
Tailwind
colors: {
  custom: {
    50: '#b5667a',
    500: '#8f1f48',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f48;
$custom-light: #b5667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f48",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 338.036,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.1494,
    "h": 4.1
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#8F1F48
secondary
#4EBC94
accent
#E7AA40
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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