#8F1948#8F1948

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

Color values

HEX#8F1948
RGBrgb(143, 25, 72)
HSLhsl(336, 70%, 33%)
HSVhsv(336, 83%, 56%)
CMYKcmyk(0%, 82.5%, 49.7%, 43.9%)
CIE-LABlab(31.82, 50.49, 3.07)
CIE-LCHlch(31.82, 50.58, 3.48°)
OKLaboklab(43.25% 0.1549 0.0084)
OKLCHoklch(43.25% 0.155 3.1)
XYZxyz(12.8461, 7.0046, 6.8052)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1948 #198F60
analogous
#8F1983 #8F1948 #8F2519
triadic
#8F1948 #488F19 #19488F
tetradic
#8F1948 #838F19 #198F60 #25198F
square
#8F1948 #838F19 #198F60 #25198F
split-complementary
#8F1948 #198F25 #19838F
monochromatic
#270714 #5B102E #8F1948 #C32262 #DE4482

Accessibility & contrast

On white

8.75
#8F1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8F1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1948
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1948#FFFFFF#000000##FFFFFF
##8F19481.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1948;
/* rgb */ color: rgb(143, 25, 72);
/* oklch */ color: oklch(43.2% 0.155 3.1);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8f1948',
    950: '#000000',
  },
}
SCSS
$custom: #8f1948;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1948",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 336.102,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.15509,
    "h": 3.1
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#8F1948
secondary
#44BF8E
accent
#EDA63B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1948

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

Preview Lab → · Contrast checker → · Palette generator →

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