#8F3159#8F3159

#8F3159 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.2% C 0.133 H 357.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F3159
RGBrgb(143, 49, 89)
HSLhsl(334, 49%, 38%)
HSVhsv(334, 66%, 56%)
CMYKcmyk(0%, 65.7%, 37.8%, 43.9%)
CIE-LABlab(35.52, 43.44, -2.57)
CIE-LCHlch(35.52, 43.52, 356.61°)
OKLaboklab(46.15% 0.1328 -0.0062)
OKLCHoklch(46.15% 0.133 357.3)
XYZxyz(14.2300, 8.7591, 10.3906)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3159 #318F67
analogous
#8F3188 #8F3159 #8F3831
triadic
#8F3159 #598F31 #31598F
tetradic
#8F3159 #888F31 #318F67 #38318F
square
#8F3159 #888F31 #318F67 #38318F
split-complementary
#8F3159 #318F38 #31888F
monochromatic
#341220 #61213D #8F3159 #BD4175 #CD6D96

Accessibility & contrast

On white

7.63
#8F3159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F3159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3159
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3159#FFFFFF#000000##FFFFFF
##8F31591.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42485A
Deuteranopia (green-blind)
#5B5A57
Tritanopia (blue-blind)
#9A2941
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f3159;
/* rgb */ color: rgb(143, 49, 89);
/* oklch */ color: oklch(46.2% 0.133 357.3);
Tailwind
colors: {
  custom: {
    50: '#b46f87',
    500: '#8f3159',
    950: '#000000',
  },
}
SCSS
$custom: #8f3159;
$custom-light: #b46f87;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3159",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 334.468,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.13295,
    "h": 357.3
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#8F3159
secondary
#67B594
accent
#D99E4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11080B
muted
#807B7C

Preview Lab

Preview with #8F3159

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

Preview Lab → · Contrast checker → · Palette generator →

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