#8F1D73#8F1D73

#8F1D73 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.172 H 340.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F1D73
RGBrgb(143, 29, 115)
HSLhsl(315, 66%, 34%)
HSVhsv(315, 80%, 56%)
CMYKcmyk(0%, 79.7%, 19.6%, 43.9%)
CIE-LABlab(33.89, 54.31, -21.60)
CIE-LCHlch(33.89, 58.45, 338.31°)
OKLaboklab(45.31% 0.1623 -0.0584)
OKLCHoklch(45.31% 0.173 340.2)
XYZxyz(14.8620, 7.9577, 16.9696)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D73 #1D8F39
analogous
#721D8F #8F1D73 #8F1D3A
triadic
#8F1D73 #738F1D #1D738F
tetradic
#8F1D73 #8F721D #1D8F39 #1D3A8F
square
#8F1D73 #8F721D #1D8F39 #1D3A8F
split-complementary
#8F1D73 #3A8F1D #1D8F72
monochromatic
#290821 #5C134A #8F1D73 #C2279C #DB4CB8

Accessibility & contrast

On white

8.10
#8F1D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D73
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D73#FFFFFF#000000##FFFFFF
##8F1D731.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264475
Deuteranopia (green-blind)
#4C5670
Tritanopia (blue-blind)
#982146
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1d73;
/* rgb */ color: rgb(143, 29, 115);
/* oklch */ color: oklch(45.3% 0.172 340.2);
Tailwind
colors: {
  custom: {
    50: '#b4679b',
    500: '#8f1d73',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d73;
$custom-light: #b4679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d73",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 314.737,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.1725,
    "h": 340.2
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#8F1D73
secondary
#4BBD67
accent
#E9683F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1D73

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

Preview Lab → · Contrast checker → · Palette generator →

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