#8F1348#8F1348

#8F1348 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.160 H 2.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1348
RGBrgb(143, 19, 72)
HSLhsl(334, 77%, 32%)
HSVhsv(334, 87%, 56%)
CMYKcmyk(0%, 86.7%, 49.7%, 43.9%)
CIE-LABlab(31.29, 52.00, 2.31)
CIE-LCHlch(31.29, 52.05, 2.55°)
OKLaboklab(42.86% 0.1597 0.0065)
OKLCHoklch(42.86% 0.16 2.3)
XYZxyz(12.7314, 6.7751, 6.7670)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1348 #138F5A
analogous
#8F1386 #8F1348 #8F1C13
triadic
#8F1348 #488F13 #13488F
tetradic
#8F1348 #868F13 #138F5A #1C138F
square
#8F1348 #868F13 #138F5A #1C138F
split-complementary
#8F1348 #138F1C #13868F
monochromatic
#230512 #590C2D #8F1348 #C51A63 #E53882

Accessibility & contrast

On white

8.92
#8F1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1348
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1348#FFFFFF#000000##FFFFFF
##8F13481.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#9C002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1348;
/* rgb */ color: rgb(143, 19, 72);
/* oklch */ color: oklch(42.9% 0.160 2.3);
Tailwind
colors: {
  custom: {
    50: '#b6627a',
    500: '#8f1348',
    950: '#000000',
  },
}
SCSS
$custom: #8f1348;
$custom-light: #b6627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1348",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 334.355,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.15987,
    "h": 2.3
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#8F1348
secondary
#3BC389
accent
#F3A235
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1348

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

Preview Lab → · Contrast checker → · Palette generator →

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