#8F336B#8F336B

#8F336B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.1% C 0.139 H 346.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F336B
RGBrgb(143, 51, 107)
HSLhsl(323, 47%, 38%)
HSVhsv(323, 64%, 56%)
CMYKcmyk(0%, 64.3%, 25.2%, 43.9%)
CIE-LABlab(36.50, 44.90, -12.54)
CIE-LCHlch(36.50, 46.62, 344.39°)
OKLaboklab(47.09% 0.1355 -0.0331)
OKLCHoklch(47.09% 0.139 346.2)
XYZxyz(15.1659, 9.2703, 14.8977)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F336B #338F57
analogous
#85338F #8F336B #8F333D
triadic
#8F336B #6B8F33 #336B8F
tetradic
#8F336B #8F8533 #338F57 #333D8F
square
#8F336B #8F8533 #338F57 #333D8F
split-complementary
#8F336B #3D8F33 #338F85
monochromatic
#351327 #622349 #8F336B #BC438D #CC70A8

Accessibility & contrast

On white

7.36
#8F336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F336B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F336B#FFFFFF#000000##FFFFFF
##8F336B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6D
Deuteranopia (green-blind)
#575C69
Tritanopia (blue-blind)
#98314A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f336b;
/* rgb */ color: rgb(143, 51, 107);
/* oklch */ color: oklch(47.1% 0.139 346.2);
Tailwind
colors: {
  custom: {
    50: '#b37195',
    500: '#8f336b',
    950: '#000000',
  },
}
SCSS
$custom: #8f336b;
$custom-light: #b37195;
$custom-dark: #000000;
JSON
{
  "hex": "#8f336b",
  "rgb": {
    "r": 143,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 323.478,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.13947,
    "h": 346.2
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#8F336B
secondary
#6AB487
accent
#D78551
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8F336B

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

Preview Lab → · Contrast checker → · Palette generator →

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