#8F306E#8F306E

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

Color values

HEX#8F306E
RGBrgb(143, 48, 110)
HSLhsl(321, 50%, 37%)
HSVhsv(321, 66%, 56%)
CMYKcmyk(0%, 66.4%, 23.1%, 43.9%)
CIE-LABlab(36.14, 46.66, -14.98)
CIE-LCHlch(36.14, 49.00, 342.20°)
OKLaboklab(46.87% 0.1403 -0.0399)
OKLCHoklch(46.87% 0.146 344.1)
XYZxyz(15.1996, 9.0808, 15.7011)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F306E #308F51
analogous
#80308F #8F306E #8F303F
triadic
#8F306E #6E8F30 #306E8F
tetradic
#8F306E #8F8030 #308F51 #303F8F
square
#8F306E #8F8030 #308F51 #303F8F
split-complementary
#8F306E #3F8F30 #308F80
monochromatic
#331128 #61214B #8F306E #BD3F91 #CE6CAC

Accessibility & contrast

On white

7.46
#8F306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F306E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F306E#FFFFFF#000000##FFFFFF
##8F306E1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B70
Deuteranopia (green-blind)
#555B6C
Tritanopia (blue-blind)
#98304A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f306e;
/* rgb */ color: rgb(143, 48, 110);
/* oklch */ color: oklch(46.9% 0.146 344.1);
Tailwind
colors: {
  custom: {
    50: '#b36f97',
    500: '#8f306e',
    950: '#000000',
  },
}
SCSS
$custom: #8f306e;
$custom-light: #b36f97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f306e",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 320.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.14582,
    "h": 344.1
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#8F306E
secondary
#66B581
accent
#D97F4F
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F306E

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

Preview Lab → · Contrast checker → · Palette generator →

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