#8F1D74#8F1D74

#8F1D74 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.4% C 0.173 H 339.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8F1D74
RGBrgb(143, 29, 116)
HSLhsl(314, 66%, 34%)
HSVhsv(314, 80%, 56%)
CMYKcmyk(0%, 79.7%, 18.9%, 43.9%)
CIE-LABlab(33.94, 54.45, -22.16)
CIE-LCHlch(33.94, 58.79, 337.85°)
OKLaboklab(45.36% 0.1625 -0.0599)
OKLCHoklch(45.36% 0.173 339.7)
XYZxyz(14.9199, 7.9808, 17.2743)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D74 #1D8F38
analogous
#711D8F #8F1D74 #8F1D3B
triadic
#8F1D74 #748F1D #1D748F
tetradic
#8F1D74 #8F711D #1D8F38 #1D3B8F
square
#8F1D74 #8F711D #1D8F38 #1D3B8F
split-complementary
#8F1D74 #3B8F1D #1D8F71
monochromatic
#290821 #5C134B #8F1D74 #C2279D #DB4CB9

Accessibility & contrast

On white

8.09
#8F1D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F1D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D74
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D74#FFFFFF#000000##FFFFFF
##8F1D741.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264476
Deuteranopia (green-blind)
#4C5671
Tritanopia (blue-blind)
#982247
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1d74;
/* rgb */ color: rgb(143, 29, 116);
/* oklch */ color: oklch(45.4% 0.173 339.7);
Tailwind
colors: {
  custom: {
    50: '#b4679c',
    500: '#8f1d74',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d74;
$custom-light: #b4679c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d74",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 314.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.17316,
    "h": 339.7
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#8F1D74
secondary
#4BBD66
accent
#E9673F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1D74

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

Preview Lab → · Contrast checker → · Palette generator →

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