#8F337A#8F337A

#8F337A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.150 H 337.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8F337A
RGBrgb(143, 51, 122)
HSLhsl(314, 47%, 38%)
HSVhsv(314, 64%, 56%)
CMYKcmyk(0%, 64.3%, 14.7%, 43.9%)
CIE-LABlab(37.14, 47.17, -20.96)
CIE-LCHlch(37.14, 51.61, 336.04°)
OKLaboklab(47.77% 0.1388 -0.0567)
OKLCHoklch(47.77% 0.15 337.8)
XYZxyz(16.0246, 9.6138, 19.4203)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F337A #338F48
analogous
#76338F #8F337A #8F334C
triadic
#8F337A #7A8F33 #337A8F
tetradic
#8F337A #8F7633 #338F48 #334C8F
square
#8F337A #8F7633 #338F48 #334C8F
split-complementary
#8F337A #4C8F33 #338F76
monochromatic
#35132D #622354 #8F337A #BC43A0 #CC70B7

Accessibility & contrast

On white

7.19
#8F337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8F337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F337A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F337A#FFFFFF#000000##FFFFFF
##8F337A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7C
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#973752
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f337a;
/* rgb */ color: rgb(143, 51, 122);
/* oklch */ color: oklch(47.8% 0.150 337.8);
Tailwind
colors: {
  custom: {
    50: '#b371a0',
    500: '#8f337a',
    950: '#000000',
  },
}
SCSS
$custom: #8f337a;
$custom-light: #b371a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f337a",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 313.696,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.14992,
    "h": 337.8
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#8F337A
secondary
#6AB47B
accent
#D76F51
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F337A

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

Preview Lab → · Contrast checker → · Palette generator →

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