#8F1766#8F1766

#8F1766 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.170 H 346.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8F1766
RGBrgb(143, 23, 102)
HSLhsl(321, 72%, 33%)
HSVhsv(321, 84%, 56%)
CMYKcmyk(0%, 83.9%, 28.7%, 43.9%)
CIE-LABlab(32.73, 54.22, -15.12)
CIE-LCHlch(32.73, 56.29, 344.42°)
OKLaboklab(44.27% 0.1652 -0.0401)
OKLCHoklch(44.27% 0.17 346.4)
XYZxyz(14.0331, 7.4134, 13.2597)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1766 #178F40
analogous
#7C178F #8F1766 #8F172A
triadic
#8F1766 #668F17 #17668F
tetradic
#8F1766 #8F7C17 #178F40 #172A8F
square
#8F1766 #8F7C17 #178F40 #172A8F
split-complementary
#8F1766 #2A8F17 #178F7C
monochromatic
#26061B #5A0F40 #8F1766 #C41F8C #E040AA

Accessibility & contrast

On white

8.46
#8F1766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F1766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1766
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1766#FFFFFF#000000##FFFFFF
##8F17661.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4068
Deuteranopia (green-blind)
#4F5463
Tritanopia (blue-blind)
#99123E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1766;
/* rgb */ color: rgb(143, 23, 102);
/* oklch */ color: oklch(44.3% 0.170 346.4);
Tailwind
colors: {
  custom: {
    50: '#b46491',
    500: '#8f1766',
    950: '#000000',
  },
}
SCSS
$custom: #8f1766;
$custom-light: #b46491;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1766",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 320.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.17002,
    "h": 346.4
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#8F1766
secondary
#41C16D
accent
#EF7739
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060D
muted
#817A7D

Preview Lab

Preview with #8F1766

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

Preview Lab → · Contrast checker → · Palette generator →

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