#8B164E#8B164E

#8B164E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 358.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8B164E
RGBrgb(139, 22, 78)
HSLhsl(331, 73%, 32%)
HSVhsv(331, 84%, 55%)
CMYKcmyk(0%, 84.2%, 43.9%, 45.5%)
CIE-LABlab(30.91, 50.77, -2.30)
CIE-LCHlch(30.91, 50.82, 357.40°)
OKLaboklab(42.5% 0.1563 -0.0054)
OKLCHoklch(42.5% 0.156 358)
XYZxyz(12.3105, 6.6145, 7.8347)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B164E #168B53
analogous
#8B1689 #8B164E #8B1916
triadic
#8B164E #4E8B16 #164E8B
tetradic
#8B164E #898B16 #168B53 #19168B
square
#8B164E #898B16 #168B53 #19168B
split-complementary
#8B164E #168B19 #16898B
monochromatic
#210513 #560E30 #8B164E #C01E6C #E03B8A

Accessibility & contrast

On white

9.04
#8B164E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8B164E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B164E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B164E#FFFFFF#000000##FFFFFF
##8B164E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#52514B
Tritanopia (blue-blind)
#970030
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b164e;
/* rgb */ color: rgb(139, 22, 78);
/* oklch */ color: oklch(42.5% 0.156 358.0);
Tailwind
colors: {
  custom: {
    50: '#b2627f',
    500: '#8b164e',
    950: '#000000',
  },
}
SCSS
$custom: #8b164e;
$custom-light: #b2627f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b164e",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 78
  },
  "hsl": {
    "h": 331.282,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.15639,
    "h": 358
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#8B164E
secondary
#3EBF81
accent
#EF9838
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B164E

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

Preview Lab → · Contrast checker → · Palette generator →

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