#8F1772#8F1772

#8F1772 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.177 H 340.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8F1772
RGBrgb(143, 23, 114)
HSLhsl(315, 72%, 33%)
HSVhsv(315, 84%, 56%)
CMYKcmyk(0%, 83.9%, 20.3%, 43.9%)
CIE-LABlab(33.28, 55.79, -21.92)
CIE-LCHlch(33.28, 59.94, 338.55°)
OKLaboklab(44.85% 0.1671 -0.0592)
OKLCHoklch(44.85% 0.177 340.5)
XYZxyz(14.6718, 7.6689, 16.6239)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1772 #178F34
analogous
#70178F #8F1772 #8F1736
triadic
#8F1772 #728F17 #17728F
tetradic
#8F1772 #8F7017 #178F34 #17368F
square
#8F1772 #8F7017 #178F34 #17368F
split-complementary
#8F1772 #368F17 #178F70
monochromatic
#26061E #5A0F48 #8F1772 #C41F9C #E040BA

Accessibility & contrast

On white

8.29
#8F1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F1772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1772
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1772#FFFFFF#000000##FFFFFF
##8F17721.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#4B556F
Tritanopia (blue-blind)
#981B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1772;
/* rgb */ color: rgb(143, 23, 114);
/* oklch */ color: oklch(44.9% 0.177 340.5);
Tailwind
colors: {
  custom: {
    50: '#b4659b',
    500: '#8f1772',
    950: '#000000',
  },
}
SCSS
$custom: #8f1772;
$custom-light: #b4659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1772",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 314.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.17732,
    "h": 340.5
  },
  "luminance": 0.07667
}

Semantic roles & 50–950 ramp

primary
#8F1772
secondary
#41C160
accent
#EF6539
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1772

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

Preview Lab → · Contrast checker → · Palette generator →

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