#8F1848#8F1848

#8F1848 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.156 H 3.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8F1848
RGBrgb(143, 24, 72)
HSLhsl(336, 71%, 33%)
HSVhsv(336, 83%, 56%)
CMYKcmyk(0%, 83.2%, 49.7%, 43.9%)
CIE-LABlab(31.72, 50.76, 2.94)
CIE-LCHlch(31.72, 50.84, 3.31°)
OKLaboklab(43.18% 0.1557 0.008)
OKLCHoklch(43.18% 0.156 3)
XYZxyz(12.8251, 6.9626, 6.7982)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1848 #188F5F
analogous
#8F1883 #8F1848 #8F2318
triadic
#8F1848 #488F18 #18488F
tetradic
#8F1848 #838F18 #188F5F #23188F
square
#8F1848 #838F18 #188F5F #23188F
split-complementary
#8F1848 #188F23 #18838F
monochromatic
#260613 #5B0F2E #8F1848 #C32162 #DF4282

Accessibility & contrast

On white

8.78
#8F1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8F1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1848
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1848#FFFFFF#000000##FFFFFF
##8F18481.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#565345
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1848;
/* rgb */ color: rgb(143, 24, 72);
/* oklch */ color: oklch(43.2% 0.156 3.0);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8f1848',
    950: '#000000',
  },
}
SCSS
$custom: #8f1848;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1848",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 335.798,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43178,
    "c": 0.15595,
    "h": 3
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#8F1848
secondary
#43C08E
accent
#EEA53A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1848

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

Preview Lab → · Contrast checker → · Palette generator →

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