#8B1B4F#8B1B4F

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

Color values

HEX#8B1B4F
RGBrgb(139, 27, 79)
HSLhsl(332, 67%, 33%)
HSVhsv(332, 81%, 55%)
CMYKcmyk(0%, 80.6%, 43.2%, 45.5%)
CIE-LABlab(31.44, 49.47, -2.19)
CIE-LCHlch(31.44, 49.52, 357.47°)
OKLaboklab(42.9% 0.1521 -0.0051)
OKLCHoklch(42.9% 0.152 358.1)
XYZxyz(12.4516, 6.8390, 8.0600)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B4F #1B8B57
analogous
#8B1B87 #8B1B4F #8B1F1B
triadic
#8B1B4F #4F8B1B #1B4F8B
tetradic
#8B1B4F #878B1B #1B8B57 #1F1B8B
square
#8B1B4F #878B1B #1B8B57 #1F1B8B
split-complementary
#8B1B4F #1B8B1F #1B878B
monochromatic
#250715 #581132 #8B1B4F #BE256C #DB458B

Accessibility & contrast

On white

8.87
#8B1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8B1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B4F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B4F#FFFFFF#000000##FFFFFF
##8B1B4F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D50
Deuteranopia (green-blind)
#53524C
Tritanopia (blue-blind)
#970533
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1b4f;
/* rgb */ color: rgb(139, 27, 79);
/* oklch */ color: oklch(42.9% 0.152 358.1);
Tailwind
colors: {
  custom: {
    50: '#b26480',
    500: '#8b1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b4f;
$custom-light: #b26480;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b4f",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 332.143,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.15222,
    "h": 358.1
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#8B1B4F
secondary
#45BC85
accent
#EA9A3D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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