#8F3873#8F3873

#8F3873 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.137 H 342.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8F3873
RGBrgb(143, 56, 115)
HSLhsl(319, 44%, 39%)
HSVhsv(319, 61%, 56%)
CMYKcmyk(0%, 60.8%, 19.6%, 43.9%)
CIE-LABlab(37.68, 43.78, -15.77)
CIE-LCHlch(37.68, 46.53, 340.19°)
OKLaboklab(48.06% 0.1304 -0.0422)
OKLCHoklch(48.06% 0.137 342.1)
XYZxyz(15.8368, 9.9072, 17.2945)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3873 #388F54
analogous
#80388F #8F3873 #8F3848
triadic
#8F3873 #738F38 #38738F
tetradic
#8F3873 #8F8038 #388F54 #38488F
square
#8F3873 #8F8038 #388F54 #38488F
split-complementary
#8F3873 #488F38 #388F80
monochromatic
#37162C #632750 #8F3873 #B94B96 #CA77AF

Accessibility & contrast

On white

7.04
#8F3873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F3873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3873
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3873#FFFFFF#000000##FFFFFF
##8F38731.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5075
Deuteranopia (green-blind)
#575E71
Tritanopia (blue-blind)
#973950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f3873;
/* rgb */ color: rgb(143, 56, 115);
/* oklch */ color: oklch(48.1% 0.137 342.1);
Tailwind
colors: {
  custom: {
    50: '#b2749b',
    500: '#8f3873',
    950: '#000000',
  },
}
SCSS
$custom: #8f3873;
$custom-light: #b2749b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3873",
  "rgb": {
    "r": 143,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 319.31,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.13708,
    "h": 342.1
  },
  "luminance": 0.09906
}

Semantic roles & 50–950 ramp

primary
#8F3873
secondary
#70B385
accent
#D37D54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F3873

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

Preview Lab → · Contrast checker → · Palette generator →

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