#8B334E#8B334E

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

Color values

HEX#8B334E
RGBrgb(139, 51, 78)
HSLhsl(342, 46%, 37%)
HSVhsv(342, 63%, 55%)
CMYKcmyk(0%, 63.3%, 43.9%, 45.5%)
CIE-LABlab(34.82, 39.93, 3.39)
CIE-LCHlch(34.82, 40.07, 4.85°)
OKLaboklab(45.39% 0.1218 0.0092)
OKLCHoklch(45.39% 0.122 4.3)
XYZxyz(13.2073, 8.4082, 8.1337)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B334E #338B70
analogous
#8B337A #8B334E #8B4433
triadic
#8B334E #4E8B33 #334E8B
tetradic
#8B334E #7A8B33 #338B70 #44338B
square
#8B334E #7A8B33 #338B70 #44338B
split-complementary
#8B334E #338B44 #337A8B
monochromatic
#31121C #5E2335 #8B334E #B84367 #CA6E8B

Accessibility & contrast

On white

7.83
#8B334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B334E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B334E#FFFFFF#000000##FFFFFF
##8B334E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474F
Deuteranopia (green-blind)
#5C584C
Tritanopia (blue-blind)
#97293D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b334e;
/* rgb */ color: rgb(139, 51, 78);
/* oklch */ color: oklch(45.4% 0.122 4.3);
Tailwind
colors: {
  custom: {
    50: '#b16f7f',
    500: '#8b334e',
    950: '#000000',
  },
}
SCSS
$custom: #8b334e;
$custom-light: #b16f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b334e",
  "rgb": {
    "r": 139,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 341.591,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45386,
    "c": 0.12213,
    "h": 4.3
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#8B334E
secondary
#68B29B
accent
#D6AD52
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11080A
muted
#807B7C

Preview Lab

Preview with #8B334E

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

Preview Lab → · Contrast checker → · Palette generator →

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