#8B164F#8B164F

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

Color values

HEX#8B164F
RGBrgb(139, 22, 79)
HSLhsl(331, 73%, 32%)
HSVhsv(331, 84%, 55%)
CMYKcmyk(0%, 84.2%, 43.2%, 45.5%)
CIE-LABlab(30.95, 50.87, -2.91)
CIE-LCHlch(30.95, 50.95, 356.72°)
OKLaboklab(42.54% 0.1566 -0.007)
OKLCHoklch(42.54% 0.157 357.4)
XYZxyz(12.3466, 6.6289, 8.0250)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B164F #168B52
analogous
#8B168A #8B164F #8B1716
triadic
#8B164F #4F8B16 #164F8B
tetradic
#8B164F #8A8B16 #168B52 #17168B
square
#8B164F #8A8B16 #168B52 #17168B
split-complementary
#8B164F #168B17 #168A8B
monochromatic
#210513 #560E31 #8B164F #C01E6D #E03B8C

Accessibility & contrast

On white

9.03
#8B164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8B164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B164F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B164F#FFFFFF#000000##FFFFFF
##8B164F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#970031
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b164f;
/* rgb */ color: rgb(139, 22, 79);
/* oklch */ color: oklch(42.5% 0.157 357.4);
Tailwind
colors: {
  custom: {
    50: '#b26380',
    500: '#8b164f',
    950: '#000000',
  },
}
SCSS
$custom: #8b164f;
$custom-light: #b26380;
$custom-dark: #000000;
JSON
{
  "hex": "#8b164f",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 330.769,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.15678,
    "h": 357.4
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#8B164F
secondary
#3EBF80
accent
#EF9638
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B164F

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

Preview Lab → · Contrast checker → · Palette generator →

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