#8F336A#8F336A

#8F336A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.139 H 346.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8F336A
RGBrgb(143, 51, 106)
HSLhsl(324, 47%, 38%)
HSVhsv(324, 64%, 56%)
CMYKcmyk(0%, 64.3%, 25.9%, 43.9%)
CIE-LABlab(36.46, 44.76, -11.97)
CIE-LCHlch(36.46, 46.33, 345.03°)
OKLaboklab(47.05% 0.1352 -0.0316)
OKLCHoklch(47.05% 0.139 346.9)
XYZxyz(15.1136, 9.2494, 14.6222)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F336A #338F58
analogous
#86338F #8F336A #8F333C
triadic
#8F336A #6A8F33 #336A8F
tetradic
#8F336A #8F8633 #338F58 #333C8F
square
#8F336A #8F8633 #338F58 #333C8F
split-complementary
#8F336A #3C8F33 #338F86
monochromatic
#351327 #622349 #8F336A #BC438B #CC70A7

Accessibility & contrast

On white

7.37
#8F336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F336A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F336A#FFFFFF#000000##FFFFFF
##8F336A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6C
Deuteranopia (green-blind)
#585C68
Tritanopia (blue-blind)
#99314A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f336a;
/* rgb */ color: rgb(143, 51, 106);
/* oklch */ color: oklch(47.0% 0.139 346.9);
Tailwind
colors: {
  custom: {
    50: '#b37194',
    500: '#8f336a',
    950: '#000000',
  },
}
SCSS
$custom: #8f336a;
$custom-light: #b37194;
$custom-dark: #000000;
JSON
{
  "hex": "#8f336a",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 324.13,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.13884,
    "h": 346.9
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#8F336A
secondary
#6AB488
accent
#D78751
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F336A

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

Preview Lab → · Contrast checker → · Palette generator →

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