#8B1B45#8B1B45

#8B1B45 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.149 H 4.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#8B1B45
RGBrgb(139, 27, 69)
HSLhsl(338, 67%, 33%)
HSVhsv(338, 81%, 55%)
CMYKcmyk(0%, 80.6%, 50.4%, 45.5%)
CIE-LABlab(31.12, 48.51, 3.95)
CIE-LCHlch(31.12, 48.67, 4.66°)
OKLaboklab(42.57% 0.1486 0.0106)
OKLCHoklch(42.57% 0.149 4.1)
XYZxyz(12.1146, 6.7042, 6.2852)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B45 #1B8B61
analogous
#8B1B7D #8B1B45 #8B291B
triadic
#8B1B45 #458B1B #1B458B
tetradic
#8B1B45 #7D8B1B #1B8B61 #291B8B
square
#8B1B45 #7D8B1B #1B8B61 #291B8B
split-complementary
#8B1B45 #1B8B29 #1B7D8B
monochromatic
#250712 #58112C #8B1B45 #BE255E #DB457E

Accessibility & contrast

On white

8.97
#8B1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8B1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B45
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B45#FFFFFF#000000##FFFFFF
##8B1B451.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#98002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1b45;
/* rgb */ color: rgb(139, 27, 69);
/* oklch */ color: oklch(42.6% 0.149 4.1);
Tailwind
colors: {
  custom: {
    50: '#b26478',
    500: '#8b1b45',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b45;
$custom-light: #b26478;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b45",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 337.5,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.14896,
    "h": 4.1
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#8B1B45
secondary
#45BC90
accent
#EAAA3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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