#8F1578#8F1578

#8F1578 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.183 H 337.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8F1578
RGBrgb(143, 21, 120)
HSLhsl(311, 74%, 32%)
HSVhsv(311, 85%, 56%)
CMYKcmyk(0%, 85.3%, 16.1%, 43.9%)
CIE-LABlab(33.42, 57.10, -25.50)
CIE-LCHlch(33.42, 62.53, 335.93°)
OKLaboklab(45.05% 0.1692 -0.0694)
OKLCHoklch(45.05% 0.183 337.7)
XYZxyz(14.9864, 7.7335, 18.4691)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1578 #158F2C
analogous
#69158F #8F1578 #8F153B
triadic
#8F1578 #788F15 #15788F
tetradic
#8F1578 #8F6915 #158F2C #153B8F
square
#8F1578 #8F6915 #158F2C #153B8F
split-complementary
#8F1578 #3B8F15 #158F69
monochromatic
#24051E #5A0D4B #8F1578 #C41DA5 #E23CC3

Accessibility & contrast

On white

8.25
#8F1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F1578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1578
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1578#FFFFFF#000000##FFFFFF
##8F15781.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#971E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1578;
/* rgb */ color: rgb(143, 21, 120);
/* oklch */ color: oklch(45.0% 0.183 337.7);
Tailwind
colors: {
  custom: {
    50: '#b4659f',
    500: '#8f1578',
    950: '#000000',
  },
}
SCSS
$custom: #8f1578;
$custom-light: #b4659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1578",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 311.311,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.18285,
    "h": 337.7
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#8F1578
secondary
#3EC257
accent
#F15A37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1578

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

Preview Lab → · Contrast checker → · Palette generator →

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