#8F336E#8F336E

#8F336E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.2% C 0.141 H 344.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F336E
RGBrgb(143, 51, 110)
HSLhsl(322, 47%, 38%)
HSVhsv(322, 64%, 56%)
CMYKcmyk(0%, 64.3%, 23.1%, 43.9%)
CIE-LABlab(36.62, 45.34, -14.25)
CIE-LCHlch(36.62, 47.52, 342.55°)
OKLaboklab(47.22% 0.1362 -0.0379)
OKLCHoklch(47.22% 0.141 344.5)
XYZxyz(15.3265, 9.3345, 15.7434)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F336E #338F54
analogous
#82338F #8F336E #8F3340
triadic
#8F336E #6E8F33 #336E8F
tetradic
#8F336E #8F8233 #338F54 #33408F
square
#8F336E #8F8233 #338F54 #33408F
split-complementary
#8F336E #408F33 #338F82
monochromatic
#351329 #62234B #8F336E #BC4391 #CC70AB

Accessibility & contrast

On white

7.33
#8F336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8F336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F336E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F336E#FFFFFF#000000##FFFFFF
##8F336E1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4C70
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#98324C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f336e;
/* rgb */ color: rgb(143, 51, 110);
/* oklch */ color: oklch(47.2% 0.141 344.5);
Tailwind
colors: {
  custom: {
    50: '#b37197',
    500: '#8f336e',
    950: '#000000',
  },
}
SCSS
$custom: #8f336e;
$custom-light: #b37197;
$custom-dark: #000000;
JSON
{
  "hex": "#8f336e",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 321.522,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.1414,
    "h": 344.5
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#8F336E
secondary
#6AB484
accent
#D78151
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F336E

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

Preview Lab → · Contrast checker → · Palette generator →

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