#8B1B48#8B1B48

#8B1B48 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.150 H 2.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8B1B48
RGBrgb(139, 27, 72)
HSLhsl(336, 67%, 33%)
HSVhsv(336, 81%, 55%)
CMYKcmyk(0%, 80.6%, 48.2%, 45.5%)
CIE-LABlab(31.21, 48.78, 2.10)
CIE-LCHlch(31.21, 48.83, 2.46°)
OKLaboklab(42.66% 0.1497 0.0059)
OKLCHoklch(42.66% 0.15 2.3)
XYZxyz(12.2101, 6.7424, 6.7881)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B48 #1B8B5E
analogous
#8B1B80 #8B1B48 #8B261B
triadic
#8B1B48 #488B1B #1B488B
tetradic
#8B1B48 #808B1B #1B8B5E #261B8B
square
#8B1B48 #808B1B #1B8B5E #261B8B
split-complementary
#8B1B48 #1B8B26 #1B808B
monochromatic
#250713 #58112D #8B1B48 #BE2563 #DB4582

Accessibility & contrast

On white

8.94
#8B1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8B1B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B48
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B48#FFFFFF#000000##FFFFFF
##8B1B481.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#98002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1b48;
/* rgb */ color: rgb(139, 27, 72);
/* oklch */ color: oklch(42.7% 0.150 2.3);
Tailwind
colors: {
  custom: {
    50: '#b2647a',
    500: '#8b1b48',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b48;
$custom-light: #b2647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b48",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 335.893,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.14981,
    "h": 2.3
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#8B1B48
secondary
#45BC8D
accent
#EAA53D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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