#8B1B4A#8B1B4A

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

Color values

HEX#8B1B4A
RGBrgb(139, 27, 74)
HSLhsl(335, 67%, 33%)
HSVhsv(335, 81%, 55%)
CMYKcmyk(0%, 80.6%, 46.8%, 45.5%)
CIE-LABlab(31.27, 48.97, 0.87)
CIE-LCHlch(31.27, 48.98, 1.02°)
OKLaboklab(42.73% 0.1504 0.0028)
OKLCHoklch(42.73% 0.15 1.1)
XYZxyz(12.2764, 6.7689, 7.1373)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B4A #1B8B5C
analogous
#8B1B82 #8B1B4A #8B241B
triadic
#8B1B4A #4A8B1B #1B4A8B
tetradic
#8B1B4A #828B1B #1B8B5C #241B8B
square
#8B1B4A #828B1B #1B8B5C #241B8B
split-complementary
#8B1B4A #1B8B24 #1B828B
monochromatic
#250713 #58112F #8B1B4A #BE2565 #DB4584

Accessibility & contrast

On white

8.92
#8B1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1B4A
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B4A#FFFFFF#000000##FFFFFF
##8B1B4A1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#545147
Tritanopia (blue-blind)
#970030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1b4a;
/* rgb */ color: rgb(139, 27, 74);
/* oklch */ color: oklch(42.7% 0.150 1.1);
Tailwind
colors: {
  custom: {
    50: '#b2647c',
    500: '#8b1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b4a;
$custom-light: #b2647c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b4a",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 334.821,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.15044,
    "h": 1.1
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#8B1B4A
secondary
#45BC8A
accent
#EAA23D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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