#8B334D#8B334D

#8B334D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.4% C 0.122 H 5.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8B334D
RGBrgb(139, 51, 77)
HSLhsl(342, 46%, 37%)
HSVhsv(342, 63%, 55%)
CMYKcmyk(0%, 63.3%, 44.6%, 45.5%)
CIE-LABlab(34.79, 39.82, 3.99)
CIE-LCHlch(34.79, 40.02, 5.72°)
OKLaboklab(45.36% 0.1214 0.0107)
OKLCHoklch(45.36% 0.122 5)
XYZxyz(13.1718, 8.3940, 7.9463)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B334D #338B71
analogous
#8B3379 #8B334D #8B4533
triadic
#8B334D #4D8B33 #334D8B
tetradic
#8B334D #798B33 #338B71 #45338B
square
#8B334D #798B33 #338B71 #45338B
split-complementary
#8B334D #338B45 #33798B
monochromatic
#31121B #5E2334 #8B334D #B84366 #CA6E89

Accessibility & contrast

On white

7.84
#8B334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B334D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B334D#FFFFFF#000000##FFFFFF
##8B334D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474E
Deuteranopia (green-blind)
#5C584B
Tritanopia (blue-blind)
#97283D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b334d;
/* rgb */ color: rgb(139, 51, 77);
/* oklch */ color: oklch(45.4% 0.122 5.0);
Tailwind
colors: {
  custom: {
    50: '#b16f7e',
    500: '#8b334d',
    950: '#000000',
  },
}
SCSS
$custom: #8b334d;
$custom-light: #b16f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b334d",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 342.273,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.12186,
    "h": 5
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#8B334D
secondary
#68B29C
accent
#D6AF52
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8B334D

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

Preview Lab → · Contrast checker → · Palette generator →

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