#8F1174#8F1174

#8F1174 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 339.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8F1174
RGBrgb(143, 17, 116)
HSLhsl(313, 79%, 31%)
HSVhsv(313, 88%, 56%)
CMYKcmyk(0%, 88.1%, 18.9%, 43.9%)
CIE-LABlab(32.93, 57.39, -23.75)
CIE-LCHlch(32.93, 62.11, 337.52°)
OKLaboklab(44.63% 0.1714 -0.0644)
OKLCHoklch(44.63% 0.183 339.4)
XYZxyz(14.6810, 7.5030, 17.1947)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1174 #118F2C
analogous
#6B118F #8F1174 #8F1135
triadic
#8F1174 #748F11 #11748F
tetradic
#8F1174 #8F6B11 #118F2C #11358F
square
#8F1174 #8F6B11 #118F2C #11358F
split-complementary
#8F1174 #358F11 #118F6B
monochromatic
#22041B #580A48 #8F1174 #C618A0 #E734C0

Accessibility & contrast

On white

8.40
#8F1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8F1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1174
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1174#FFFFFF#000000##FFFFFF
##8F11741.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#981944
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1174;
/* rgb */ color: rgb(143, 17, 116);
/* oklch */ color: oklch(44.6% 0.183 339.4);
Tailwind
colors: {
  custom: {
    50: '#b4639c',
    500: '#8f1174',
    950: '#000000',
  },
}
SCSS
$custom: #8f1174;
$custom-light: #b4639c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1174",
  "rgb": {
    "r": 143,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 312.857,
    "s": 78.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.18309,
    "h": 339.4
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

primary
#8F1174
secondary
#38C356
accent
#F55C33
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1174

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

Preview Lab → · Contrast checker → · Palette generator →

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