#8F1F74#8F1F74

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

Color values

HEX#8F1F74
RGBrgb(143, 31, 116)
HSLhsl(314, 64%, 34%)
HSVhsv(314, 78%, 56%)
CMYKcmyk(0%, 78.3%, 18.9%, 43.9%)
CIE-LABlab(34.15, 53.85, -21.83)
CIE-LCHlch(34.15, 58.10, 337.93°)
OKLaboklab(45.51% 0.1606 -0.059)
OKLCHoklch(45.51% 0.171 339.8)
XYZxyz(14.9705, 8.0821, 17.2912)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F74 #1F8F3A
analogous
#721F8F #8F1F74 #8F1F3C
triadic
#8F1F74 #748F1F #1F748F
tetradic
#8F1F74 #8F721F #1F8F3A #1F3C8F
square
#8F1F74 #8F721F #1F8F3A #1F3C8F
split-complementary
#8F1F74 #3C8F1F #1F8F72
monochromatic
#2A0922 #5D144B #8F1F74 #C12A9D #D94FB8

Accessibility & contrast

On white

8.03
#8F1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F74
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F74#FFFFFF#000000##FFFFFF
##8F1F741.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1f74;
/* rgb */ color: rgb(143, 31, 116);
/* oklch */ color: oklch(45.5% 0.171 339.8);
Tailwind
colors: {
  custom: {
    50: '#b4689c',
    500: '#8f1f74',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f74;
$custom-light: #b4689c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f74",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 314.464,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.17114,
    "h": 339.8
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#8F1F74
secondary
#4EBC68
accent
#E76940
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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