#8F1D77#8F1D77

#8F1D77 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.175 H 338.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F1D77
RGBrgb(143, 29, 119)
HSLhsl(313, 66%, 34%)
HSVhsv(313, 80%, 56%)
CMYKcmyk(0%, 79.7%, 16.8%, 43.9%)
CIE-LABlab(34.09, 54.88, -23.82)
CIE-LCHlch(34.09, 59.82, 336.53°)
OKLaboklab(45.51% 0.1628 -0.0647)
OKLCHoklch(45.51% 0.175 338.3)
XYZxyz(15.0972, 8.0518, 18.2082)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D77 #1D8F35
analogous
#6E1D8F #8F1D77 #8F1D3E
triadic
#8F1D77 #778F1D #1D778F
tetradic
#8F1D77 #8F6E1D #1D8F35 #1D3E8F
square
#8F1D77 #8F6E1D #1D8F35 #1D3E8F
split-complementary
#8F1D77 #3E8F1D #1D8F6E
monochromatic
#290822 #5C134D #8F1D77 #C227A1 #DB4CBD

Accessibility & contrast

On white

8.05
#8F1D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D77
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D77#FFFFFF#000000##FFFFFF
##8F1D771.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#972349
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1d77;
/* rgb */ color: rgb(143, 29, 119);
/* oklch */ color: oklch(45.5% 0.175 338.3);
Tailwind
colors: {
  custom: {
    50: '#b4679e',
    500: '#8f1d77',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d77;
$custom-light: #b4679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d77",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 312.632,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.17518,
    "h": 338.3
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#8F1D77
secondary
#4BBD63
accent
#E9633F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1D77

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

Preview Lab → · Contrast checker → · Palette generator →

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