#8F1F73#8F1F73

#8F1F73 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.170 H 340.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F1F73
RGBrgb(143, 31, 115)
HSLhsl(315, 64%, 34%)
HSVhsv(315, 78%, 56%)
CMYKcmyk(0%, 78.3%, 19.6%, 43.9%)
CIE-LABlab(34.11, 53.70, -21.28)
CIE-LCHlch(34.11, 57.77, 338.39°)
OKLaboklab(45.46% 0.1605 -0.0574)
OKLCHoklch(45.46% 0.17 340.3)
XYZxyz(14.9126, 8.0589, 16.9865)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F73 #1F8F3B
analogous
#731F8F #8F1F73 #8F1F3B
triadic
#8F1F73 #738F1F #1F738F
tetradic
#8F1F73 #8F731F #1F8F3B #1F3B8F
square
#8F1F73 #8F731F #1F8F3B #1F3B8F
split-complementary
#8F1F73 #3B8F1F #1F8F73
monochromatic
#2A0922 #5D144B #8F1F73 #C12A9B #D94FB7

Accessibility & contrast

On white

8.04
#8F1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F73
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F73#FFFFFF#000000##FFFFFF
##8F1F731.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284575
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#982347
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1f73;
/* rgb */ color: rgb(143, 31, 115);
/* oklch */ color: oklch(45.5% 0.170 340.3);
Tailwind
colors: {
  custom: {
    50: '#b4689b',
    500: '#8f1f73',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f73;
$custom-light: #b4689b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f73",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 315,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.17047,
    "h": 340.3
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#8F1F73
secondary
#4EBC69
accent
#E76A40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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