#8F307D#8F307D

#8F307D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.157 H 336.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8F307D
RGBrgb(143, 48, 125)
HSLhsl(311, 50%, 37%)
HSVhsv(311, 66%, 56%)
CMYKcmyk(0%, 66.4%, 12.6%, 43.9%)
CIE-LABlab(36.81, 48.95, -23.34)
CIE-LCHlch(36.81, 54.23, 334.51°)
OKLaboklab(47.58% 0.1431 -0.0634)
OKLCHoklch(47.58% 0.157 336.1)
XYZxyz(16.0865, 9.4356, 20.3721)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F307D #308F42
analogous
#71308F #8F307D #8F304E
triadic
#8F307D #7D8F30 #307D8F
tetradic
#8F307D #8F7130 #308F42 #304E8F
square
#8F307D #8F7130 #308F42 #304E8F
split-complementary
#8F307D #4E8F30 #308F71
monochromatic
#33112D #612155 #8F307D #BD3FA5 #CE6CBB

Accessibility & contrast

On white

7.27
#8F307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F307D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F307D#FFFFFF#000000##FFFFFF
##8F307D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#963652
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f307d;
/* rgb */ color: rgb(143, 48, 125);
/* oklch */ color: oklch(47.6% 0.157 336.1);
Tailwind
colors: {
  custom: {
    50: '#b370a3',
    500: '#8f307d',
    950: '#000000',
  },
}
SCSS
$custom: #8f307d;
$custom-light: #b370a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f307d",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 311.368,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.15656,
    "h": 336.1
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#8F307D
secondary
#66B575
accent
#D9694F
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F307D

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

Preview Lab → · Contrast checker → · Palette generator →

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