#8F1774#8F1774

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

Color values

HEX#8F1774
RGBrgb(143, 23, 116)
HSLhsl(314, 72%, 33%)
HSVhsv(314, 84%, 56%)
CMYKcmyk(0%, 83.9%, 18.9%, 43.9%)
CIE-LABlab(33.38, 56.06, -23.04)
CIE-LCHlch(33.38, 60.61, 337.66°)
OKLaboklab(44.95% 0.1674 -0.0624)
OKLCHoklch(44.95% 0.179 339.6)
XYZxyz(14.7869, 7.7149, 17.2300)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1774 #178F32
analogous
#6E178F #8F1774 #8F1738
triadic
#8F1774 #748F17 #17748F
tetradic
#8F1774 #8F6E17 #178F32 #17388F
square
#8F1774 #8F6E17 #178F32 #17388F
split-complementary
#8F1774 #388F17 #178F6E
monochromatic
#26061E #5A0F49 #8F1774 #C41F9F #E040BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1774#FFFFFF#000000##FFFFFF
##8F17741.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)
#214376
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#981D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1774;
/* rgb */ color: rgb(143, 23, 116);
/* oklch */ color: oklch(45.0% 0.179 339.6);
Tailwind
colors: {
  custom: {
    50: '#b4659c',
    500: '#8f1774',
    950: '#000000',
  },
}
SCSS
$custom: #8f1774;
$custom-light: #b4659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1774",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 313.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.17862,
    "h": 339.6
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#8F1774
secondary
#41C15E
accent
#EF6239
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1774

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

Preview Lab → · Contrast checker → · Palette generator →

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