#8F1872#8F1872

#8F1872 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.176 H 340.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8F1872
RGBrgb(143, 24, 114)
HSLhsl(315, 71%, 33%)
HSVhsv(315, 83%, 56%)
CMYKcmyk(0%, 83.2%, 20.3%, 43.9%)
CIE-LABlab(33.37, 55.54, -21.79)
CIE-LCHlch(33.37, 59.66, 338.58°)
OKLaboklab(44.91% 0.1664 -0.0588)
OKLCHoklch(44.91% 0.176 340.5)
XYZxyz(14.6921, 7.7094, 16.6306)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1872 #188F35
analogous
#70188F #8F1872 #8F1836
triadic
#8F1872 #728F18 #18728F
tetradic
#8F1872 #8F7018 #188F35 #18368F
square
#8F1872 #8F7018 #188F35 #18368F
split-complementary
#8F1872 #368F18 #188F70
monochromatic
#26061E #5B0F48 #8F1872 #C3219C #DF42B9

Accessibility & contrast

On white

8.26
#8F1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1872
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1872#FFFFFF#000000##FFFFFF
##8F18721.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234374
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#981C45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1872;
/* rgb */ color: rgb(143, 24, 114);
/* oklch */ color: oklch(44.9% 0.176 340.5);
Tailwind
colors: {
  custom: {
    50: '#b4659a',
    500: '#8f1872',
    950: '#000000',
  },
}
SCSS
$custom: #8f1872;
$custom-light: #b4659a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1872",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 314.622,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.17648,
    "h": 340.5
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#8F1872
secondary
#43C061
accent
#EE663A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1872

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

Preview Lab → · Contrast checker → · Palette generator →

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