#8B1B4E#8B1B4E

#8B1B4E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.152 H 358.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8B1B4E
RGBrgb(139, 27, 78)
HSLhsl(333, 67%, 33%)
HSVhsv(333, 81%, 55%)
CMYKcmyk(0%, 80.6%, 43.9%, 45.5%)
CIE-LABlab(31.40, 49.37, -1.58)
CIE-LCHlch(31.40, 49.39, 358.17°)
OKLaboklab(42.86% 0.1518 -0.0035)
OKLCHoklch(42.86% 0.152 358.7)
XYZxyz(12.4155, 6.8245, 7.8697)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B4E #1B8B58
analogous
#8B1B86 #8B1B4E #8B201B
triadic
#8B1B4E #4E8B1B #1B4E8B
tetradic
#8B1B4E #868B1B #1B8B58 #201B8B
square
#8B1B4E #868B1B #1B8B58 #201B8B
split-complementary
#8B1B4E #1B8B20 #1B868B
monochromatic
#250714 #581131 #8B1B4E #BE256B #DB458A

Accessibility & contrast

On white

8.88
#8B1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8B1B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B4E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B4E#FFFFFF#000000##FFFFFF
##8B1B4E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#53514B
Tritanopia (blue-blind)
#970432
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1b4e;
/* rgb */ color: rgb(139, 27, 78);
/* oklch */ color: oklch(42.9% 0.152 358.7);
Tailwind
colors: {
  custom: {
    50: '#b2647f',
    500: '#8b1b4e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b4e;
$custom-light: #b2647f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b4e",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 332.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.15184,
    "h": 358.7
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#8B1B4E
secondary
#45BC86
accent
#EA9C3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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