#8F307E#8F307E

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

Color values

HEX#8F307E
RGBrgb(143, 48, 126)
HSLhsl(311, 50%, 37%)
HSVhsv(311, 66%, 56%)
CMYKcmyk(0%, 66.4%, 11.9%, 43.9%)
CIE-LABlab(36.86, 49.11, -23.89)
CIE-LCHlch(36.86, 54.61, 334.06°)
OKLaboklab(47.63% 0.1433 -0.065)
OKLCHoklch(47.63% 0.157 335.6)
XYZxyz(16.1507, 9.4612, 20.7102)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F307E #308F41
analogous
#71308F #8F307E #8F304E
triadic
#8F307E #7E8F30 #307E8F
tetradic
#8F307E #8F7130 #308F41 #304E8F
square
#8F307E #8F7130 #308F41 #304E8F
split-complementary
#8F307E #4E8F30 #308F71
monochromatic
#33112D #612156 #8F307E #BD3FA6 #CE6CBC

Accessibility & contrast

On white

7.26
#8F307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F307E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F307E#FFFFFF#000000##FFFFFF
##8F307E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#963652
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f307e;
/* rgb */ color: rgb(143, 48, 126);
/* oklch */ color: oklch(47.6% 0.157 335.6);
Tailwind
colors: {
  custom: {
    50: '#b370a3',
    500: '#8f307e',
    950: '#000000',
  },
}
SCSS
$custom: #8f307e;
$custom-light: #b370a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f307e",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 310.737,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.15733,
    "h": 335.6
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#8F307E
secondary
#66B574
accent
#D9674F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F307E

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

Preview Lab → · Contrast checker → · Palette generator →

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