#8F306D#8F306D

#8F306D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.145 H 344.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F306D
RGBrgb(143, 48, 109)
HSLhsl(321, 50%, 37%)
HSVhsv(321, 66%, 56%)
CMYKcmyk(0%, 66.4%, 23.8%, 43.9%)
CIE-LABlab(36.10, 46.51, -14.42)
CIE-LCHlch(36.10, 48.69, 342.78°)
OKLaboklab(46.82% 0.14 -0.0383)
OKLCHoklch(46.82% 0.145 344.7)
XYZxyz(15.1455, 9.0592, 15.4160)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F306D #308F52
analogous
#82308F #8F306D #8F303D
triadic
#8F306D #6D8F30 #306D8F
tetradic
#8F306D #8F8230 #308F52 #303D8F
square
#8F306D #8F8230 #308F52 #303D8F
split-complementary
#8F306D #3D8F30 #308F82
monochromatic
#331127 #61214A #8F306D #BD3F90 #CE6CAB

Accessibility & contrast

On white

7.47
#8F306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F306D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F306D#FFFFFF#000000##FFFFFF
##8F306D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#555B6B
Tritanopia (blue-blind)
#982F4A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f306d;
/* rgb */ color: rgb(143, 48, 109);
/* oklch */ color: oklch(46.8% 0.145 344.7);
Tailwind
colors: {
  custom: {
    50: '#b36f97',
    500: '#8f306d',
    950: '#000000',
  },
}
SCSS
$custom: #8f306d;
$custom-light: #b36f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f306d",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 321.474,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.14517,
    "h": 344.7
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#8F306D
secondary
#66B582
accent
#D9804F
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F306D

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

Preview Lab → · Contrast checker → · Palette generator →

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