#8F306F#8F306F

#8F306F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.9% C 0.146 H 343.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F306F
RGBrgb(143, 48, 111)
HSLhsl(320, 50%, 37%)
HSVhsv(320, 66%, 56%)
CMYKcmyk(0%, 66.4%, 22.4%, 43.9%)
CIE-LABlab(36.18, 46.80, -15.55)
CIE-LCHlch(36.18, 49.32, 341.62°)
OKLaboklab(46.91% 0.1405 -0.0415)
OKLCHoklch(46.91% 0.146 343.6)
XYZxyz(15.2544, 9.1027, 15.9895)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F306F #308F50
analogous
#80308F #8F306F #8F303F
triadic
#8F306F #6F8F30 #306F8F
tetradic
#8F306F #8F8030 #308F50 #303F8F
square
#8F306F #8F8030 #308F50 #303F8F
split-complementary
#8F306F #3F8F30 #308F80
monochromatic
#331128 #61214B #8F306F #BD3F93 #CE6CAD

Accessibility & contrast

On white

7.45
#8F306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F306F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F306F#FFFFFF#000000##FFFFFF
##8F306F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#555B6D
Tritanopia (blue-blind)
#98304B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f306f;
/* rgb */ color: rgb(143, 48, 111);
/* oklch */ color: oklch(46.9% 0.146 343.6);
Tailwind
colors: {
  custom: {
    50: '#b36f98',
    500: '#8f306f',
    950: '#000000',
  },
}
SCSS
$custom: #8f306f;
$custom-light: #b36f98;
$custom-dark: #000000;
JSON
{
  "hex": "#8f306f",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 320.211,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46911,
    "c": 0.14648,
    "h": 343.6
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#8F306F
secondary
#66B580
accent
#D97D4F
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F306F

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

Preview Lab → · Contrast checker → · Palette generator →

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