#8F1F78#8F1F78

#8F1F78 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 337.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F1F78
RGBrgb(143, 31, 120)
HSLhsl(312, 64%, 34%)
HSVhsv(312, 78%, 56%)
CMYKcmyk(0%, 78.3%, 16.1%, 43.9%)
CIE-LABlab(34.35, 54.42, -24.05)
CIE-LCHlch(34.35, 59.50, 336.16°)
OKLaboklab(45.71% 0.1611 -0.0653)
OKLCHoklch(45.71% 0.174 337.9)
XYZxyz(15.2082, 8.1771, 18.5431)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F78 #1F8F36
analogous
#6E1F8F #8F1F78 #8F1F40
triadic
#8F1F78 #788F1F #1F788F
tetradic
#8F1F78 #8F6E1F #1F8F36 #1F408F
square
#8F1F78 #8F6E1F #1F8F36 #1F408F
split-complementary
#8F1F78 #408F1F #1F8F6E
monochromatic
#2A0924 #5D144E #8F1F78 #C12AA2 #D94FBD

Accessibility & contrast

On white

7.97
#8F1F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F1F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F78
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F78#FFFFFF#000000##FFFFFF
##8F1F781.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467A
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#97264A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1f78;
/* rgb */ color: rgb(143, 31, 120);
/* oklch */ color: oklch(45.7% 0.174 337.9);
Tailwind
colors: {
  custom: {
    50: '#b3689f',
    500: '#8f1f78',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f78;
$custom-light: #b3689f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f78",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 312.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.17386,
    "h": 337.9
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#8F1F78
secondary
#4EBC64
accent
#E76340
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F1F78

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

Preview Lab → · Contrast checker → · Palette generator →

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