#8F1175#8F1175

#8F1175 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.7% C 0.184 H 339.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8F1175
RGBrgb(143, 17, 117)
HSLhsl(312, 79%, 31%)
HSVhsv(312, 88%, 56%)
CMYKcmyk(0%, 88.1%, 18.2%, 43.9%)
CIE-LABlab(32.98, 57.52, -24.30)
CIE-LCHlch(32.98, 62.45, 337.10°)
OKLaboklab(44.68% 0.1715 -0.066)
OKLCHoklch(44.68% 0.184 339)
XYZxyz(14.7395, 7.5264, 17.5027)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1175 #118F2B
analogous
#6A118F #8F1175 #8F1136
triadic
#8F1175 #758F11 #11758F
tetradic
#8F1175 #8F6A11 #118F2B #11368F
square
#8F1175 #8F6A11 #118F2B #11368F
split-complementary
#8F1175 #368F11 #118F6A
monochromatic
#22041B #580A48 #8F1175 #C618A2 #E734C2

Accessibility & contrast

On white

8.38
#8F1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1175
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1175#FFFFFF#000000##FFFFFF
##8F11751.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4177
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#981945
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1175;
/* rgb */ color: rgb(143, 17, 117);
/* oklch */ color: oklch(44.7% 0.184 339.0);
Tailwind
colors: {
  custom: {
    50: '#b4639d',
    500: '#8f1175',
    950: '#000000',
  },
}
SCSS
$custom: #8f1175;
$custom-light: #b4639d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1175",
  "rgb": {
    "r": 143,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 312.381,
    "s": 78.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44679,
    "c": 0.18373,
    "h": 339
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#8F1175
secondary
#38C355
accent
#F55B33
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1175

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

Preview Lab → · Contrast checker → · Palette generator →

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