#8F315E#8F315E

#8F315E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.135 H 354.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8F315E
RGBrgb(143, 49, 94)
HSLhsl(331, 49%, 38%)
HSVhsv(331, 66%, 56%)
CMYKcmyk(0%, 65.7%, 34.3%, 43.9%)
CIE-LABlab(35.69, 44.06, -5.52)
CIE-LCHlch(35.69, 44.40, 352.86°)
OKLaboklab(46.33% 0.1345 -0.014)
OKLCHoklch(46.33% 0.135 354)
XYZxyz(14.4472, 8.8460, 11.5341)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F315E #318F62
analogous
#8F318D #8F315E #8F3331
triadic
#8F315E #5E8F31 #315E8F
tetradic
#8F315E #8D8F31 #318F62 #33318F
square
#8F315E #8D8F31 #318F62 #33318F
split-complementary
#8F315E #318F33 #318D8F
monochromatic
#341222 #612140 #8F315E #BD417C #CD6D9B

Accessibility & contrast

On white

7.58
#8F315E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8F315E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F315E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F315E#FFFFFF#000000##FFFFFF
##8F315E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#5A5A5C
Tritanopia (blue-blind)
#9A2A43
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f315e;
/* rgb */ color: rgb(143, 49, 94);
/* oklch */ color: oklch(46.3% 0.135 354.0);
Tailwind
colors: {
  custom: {
    50: '#b36f8b',
    500: '#8f315e',
    950: '#000000',
  },
}
SCSS
$custom: #8f315e;
$custom-light: #b36f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f315e",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 331.277,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.13519,
    "h": 354
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#8F315E
secondary
#67B590
accent
#D9974F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8F315E

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

Preview Lab → · Contrast checker → · Palette generator →

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