#8F1577#8F1577

#8F1577 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.182 H 338.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8F1577
RGBrgb(143, 21, 119)
HSLhsl(312, 74%, 32%)
HSVhsv(312, 85%, 56%)
CMYKcmyk(0%, 85.3%, 16.8%, 43.9%)
CIE-LABlab(33.37, 56.95, -24.95)
CIE-LCHlch(33.37, 62.18, 336.34°)
OKLaboklab(44.99% 0.1691 -0.0678)
OKLCHoklch(44.99% 0.182 338.1)
XYZxyz(14.9260, 7.7094, 18.1512)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1577 #158F2D
analogous
#6A158F #8F1577 #8F153A
triadic
#8F1577 #778F15 #15778F
tetradic
#8F1577 #8F6A15 #158F2D #153A8F
square
#8F1577 #8F6A15 #158F2D #153A8F
split-complementary
#8F1577 #3A8F15 #158F6A
monochromatic
#24051E #5A0D4B #8F1577 #C41DA3 #E23CC2

Accessibility & contrast

On white

8.26
#8F1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1577
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1577#FFFFFF#000000##FFFFFF
##8F15771.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4379
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#971E47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1577;
/* rgb */ color: rgb(143, 21, 119);
/* oklch */ color: oklch(45.0% 0.182 338.1);
Tailwind
colors: {
  custom: {
    50: '#b4659e',
    500: '#8f1577',
    950: '#000000',
  },
}
SCSS
$custom: #8f1577;
$custom-light: #b4659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1577",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 311.803,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.18218,
    "h": 338.1
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#8F1577
secondary
#3EC258
accent
#F15B37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1577

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

Preview Lab → · Contrast checker → · Palette generator →

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