#8F3155#8F3155

#8F3155 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.0% C 0.131 H 0.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8F3155
RGBrgb(143, 49, 85)
HSLhsl(337, 49%, 38%)
HSVhsv(337, 66%, 56%)
CMYKcmyk(0%, 65.7%, 40.6%, 43.9%)
CIE-LABlab(35.39, 42.98, -0.20)
CIE-LCHlch(35.39, 42.98, 359.74°)
OKLaboklab(46.01% 0.1314 0)
OKLCHoklch(46.01% 0.131 0)
XYZxyz(14.0666, 8.6938, 9.5299)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3155 #318F6B
analogous
#8F3184 #8F3155 #8F3C31
triadic
#8F3155 #558F31 #31558F
tetradic
#8F3155 #848F31 #318F6B #3C318F
square
#8F3155 #848F31 #318F6B #3C318F
split-complementary
#8F3155 #318F3C #31848F
monochromatic
#34121F #61213A #8F3155 #BD4170 #CD6D92

Accessibility & contrast

On white

7.67
#8F3155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F3155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F3155
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3155#FFFFFF#000000##FFFFFF
##8F31551.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434856
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#9B273F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f3155;
/* rgb */ color: rgb(143, 49, 85);
/* oklch */ color: oklch(46.0% 0.131 0.0);
Tailwind
colors: {
  custom: {
    50: '#b46f84',
    500: '#8f3155',
    950: '#000000',
  },
}
SCSS
$custom: #8f3155;
$custom-light: #b46f84;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3155",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 85
  },
  "hsl": {
    "h": 337.021,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.13139,
    "h": 0
  },
  "luminance": 0.08692
}

Semantic roles & 50–950 ramp

primary
#8F3155
secondary
#67B597
accent
#D9A44F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12080B
muted
#817B7C

Preview Lab

Preview with #8F3155

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

Preview Lab → · Contrast checker → · Palette generator →

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