#8F1D79#8F1D79

#8F1D79 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.177 H 337.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F1D79
RGBrgb(143, 29, 121)
HSLhsl(312, 66%, 34%)
HSVhsv(312, 80%, 56%)
CMYKcmyk(0%, 79.7%, 15.4%, 43.9%)
CIE-LABlab(34.19, 55.17, -24.93)
CIE-LCHlch(34.19, 60.54, 335.69°)
OKLaboklab(45.62% 0.163 -0.0678)
OKLCHoklch(45.62% 0.177 337.4)
XYZxyz(15.2186, 8.1003, 18.8475)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D79 #1D8F33
analogous
#6C1D8F #8F1D79 #8F1D40
triadic
#8F1D79 #798F1D #1D798F
tetradic
#8F1D79 #8F6C1D #1D8F33 #1D408F
square
#8F1D79 #8F6C1D #1D8F33 #1D408F
split-complementary
#8F1D79 #408F1D #1D8F6C
monochromatic
#290823 #5C134E #8F1D79 #C227A4 #DB4CBF

Accessibility & contrast

On white

8.02
#8F1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D79
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D79#FFFFFF#000000##FFFFFF
##8F1D791.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#97254A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1d79;
/* rgb */ color: rgb(143, 29, 121);
/* oklch */ color: oklch(45.6% 0.177 337.4);
Tailwind
colors: {
  custom: {
    50: '#b467a0',
    500: '#8f1d79',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d79;
$custom-light: #b467a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d79",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 311.579,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.17656,
    "h": 337.4
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#8F1D79
secondary
#4BBD61
accent
#E9603F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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