#8F2873#8F2873

#8F2873 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.160 H 340.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F2873
RGBrgb(143, 40, 115)
HSLhsl(316, 56%, 36%)
HSVhsv(316, 72%, 56%)
CMYKcmyk(0%, 72%, 19.6%, 43.9%)
CIE-LABlab(35.20, 50.62, -19.59)
CIE-LCHlch(35.20, 54.27, 338.85°)
OKLaboklab(46.25% 0.1511 -0.0527)
OKLCHoklch(46.25% 0.16 340.8)
XYZxyz(15.1814, 8.5965, 17.0761)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2873 #288F44
analogous
#77288F #8F2873 #8F283F
triadic
#8F2873 #738F28 #28738F
tetradic
#8F2873 #8F7728 #288F44 #283F8F
square
#8F2873 #8F7728 #288F44 #283F8F
split-complementary
#8F2873 #3F8F28 #288F77
monochromatic
#2F0D26 #5F1B4D #8F2873 #BF3599 #D25FB3

Accessibility & contrast

On white

7.72
#8F2873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2873
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2873#FFFFFF#000000##FFFFFF
##8F28731.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#505971
Tritanopia (blue-blind)
#982A4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2873;
/* rgb */ color: rgb(143, 40, 115);
/* oklch */ color: oklch(46.2% 0.160 340.8);
Tailwind
colors: {
  custom: {
    50: '#b36b9b',
    500: '#8f2873',
    950: '#000000',
  },
}
SCSS
$custom: #8f2873;
$custom-light: #b36b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2873",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 316.311,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46248,
    "c": 0.16006,
    "h": 340.8
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#8F2873
secondary
#5BB874
accent
#E07148
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2873

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

Preview Lab → · Contrast checker → · Palette generator →

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