#8F1F76#8F1F76

#8F1F76 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.172 H 338.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8F1F76
RGBrgb(143, 31, 118)
HSLhsl(313, 64%, 34%)
HSVhsv(313, 78%, 56%)
CMYKcmyk(0%, 78.3%, 17.5%, 43.9%)
CIE-LABlab(34.25, 54.13, -22.95)
CIE-LCHlch(34.25, 58.80, 337.03°)
OKLaboklab(45.61% 0.1609 -0.0622)
OKLCHoklch(45.61% 0.172 338.9)
XYZxyz(15.0881, 8.1291, 17.9105)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F76 #1F8F38
analogous
#701F8F #8F1F76 #8F1F3E
triadic
#8F1F76 #768F1F #1F768F
tetradic
#8F1F76 #8F701F #1F8F38 #1F3E8F
square
#8F1F76 #8F701F #1F8F38 #1F3E8F
split-complementary
#8F1F76 #3E8F1F #1F8F70
monochromatic
#2A0923 #5D144C #8F1F76 #C12AA0 #D94FBA

Accessibility & contrast

On white

8.00
#8F1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F76
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F76#FFFFFF#000000##FFFFFF
##8F1F761.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#4C5773
Tritanopia (blue-blind)
#972449
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1f76;
/* rgb */ color: rgb(143, 31, 118);
/* oklch */ color: oklch(45.6% 0.172 338.9);
Tailwind
colors: {
  custom: {
    50: '#b3689d',
    500: '#8f1f76',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f76;
$custom-light: #b3689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f76",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 313.393,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4561,
    "c": 0.17249,
    "h": 338.9
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#8F1F76
secondary
#4EBC66
accent
#E76640
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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