#8B1B47#8B1B47

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

Color values

HEX#8B1B47
RGBrgb(139, 27, 71)
HSLhsl(336, 67%, 33%)
HSVhsv(336, 81%, 55%)
CMYKcmyk(0%, 80.6%, 48.9%, 45.5%)
CIE-LABlab(31.18, 48.69, 2.72)
CIE-LCHlch(31.18, 48.77, 3.19°)
OKLaboklab(42.63% 0.1493 0.0075)
OKLCHoklch(42.63% 0.15 2.9)
XYZxyz(12.1778, 6.7294, 6.6177)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B47 #1B8B5F
analogous
#8B1B7F #8B1B47 #8B271B
triadic
#8B1B47 #478B1B #1B478B
tetradic
#8B1B47 #7F8B1B #1B8B5F #271B8B
square
#8B1B47 #7F8B1B #1B8B5F #271B8B
split-complementary
#8B1B47 #1B8B27 #1B7F8B
monochromatic
#250713 #58112D #8B1B47 #BE2561 #DB4580

Accessibility & contrast

On white

8.95
#8B1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1B47
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B47#FFFFFF#000000##FFFFFF
##8B1B471.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1b47;
/* rgb */ color: rgb(139, 27, 71);
/* oklch */ color: oklch(42.6% 0.150 2.9);
Tailwind
colors: {
  custom: {
    50: '#b2647a',
    500: '#8b1b47',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b47;
$custom-light: #b2647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b47",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 336.429,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.14951,
    "h": 2.9
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#8B1B47
secondary
#45BC8E
accent
#EAA63D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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