#8F3160#8F3160

#8F3160 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.4% C 0.136 H 352.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8F3160
RGBrgb(143, 49, 96)
HSLhsl(330, 49%, 38%)
HSVhsv(330, 66%, 56%)
CMYKcmyk(0%, 65.7%, 32.9%, 43.9%)
CIE-LABlab(35.76, 44.31, -6.69)
CIE-LCHlch(35.76, 44.81, 351.42°)
OKLaboklab(46.41% 0.1351 -0.0172)
OKLCHoklch(46.41% 0.136 352.8)
XYZxyz(14.5381, 8.8824, 12.0129)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3160 #318F60
analogous
#8F318F #8F3160 #8F3131
triadic
#8F3160 #608F31 #31608F
tetradic
#8F3160 #8F8F31 #318F60 #31318F
square
#8F3160 #8F8F31 #318F60 #31318F
split-complementary
#8F3160 #318F31 #318F8F
monochromatic
#341223 #612141 #8F3160 #BD417F #CD6D9D

Accessibility & contrast

On white

7.56
#8F3160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F3160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3160
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3160#FFFFFF#000000##FFFFFF
##8F31601.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4961
Deuteranopia (green-blind)
#595A5E
Tritanopia (blue-blind)
#9A2B44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f3160;
/* rgb */ color: rgb(143, 49, 96);
/* oklch */ color: oklch(46.4% 0.136 352.8);
Tailwind
colors: {
  custom: {
    50: '#b36f8d',
    500: '#8f3160',
    950: '#000000',
  },
}
SCSS
$custom: #8f3160;
$custom-light: #b36f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3160",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 96
  },
  "hsl": {
    "h": 330,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.13618,
    "h": 352.8
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#8F3160
secondary
#67B58E
accent
#D9944F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8F3160

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

Preview Lab → · Contrast checker → · Palette generator →

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