#8B1B40#8B1B40

#8B1B40 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 7.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8B1B40
RGBrgb(139, 27, 64)
HSLhsl(340, 67%, 33%)
HSVhsv(340, 81%, 55%)
CMYKcmyk(0%, 80.6%, 54%, 45.5%)
CIE-LABlab(30.98, 48.08, 7.07)
CIE-LCHlch(30.98, 48.59, 8.36°)
OKLaboklab(42.42% 0.1467 0.0182)
OKLCHoklch(42.42% 0.148 7.1)
XYZxyz(11.9659, 6.6447, 5.5020)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B40 #1B8B66
analogous
#8B1B78 #8B1B40 #8B2E1B
triadic
#8B1B40 #408B1B #1B408B
tetradic
#8B1B40 #788B1B #1B8B66 #2E1B8B
square
#8B1B40 #788B1B #1B8B66 #2E1B8B
split-complementary
#8B1B40 #1B8B2E #1B788B
monochromatic
#250711 #581128 #8B1B40 #BE2558 #DB4577

Accessibility & contrast

On white

9.02
#8B1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8B1B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B40
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B40#FFFFFF#000000##FFFFFF
##8B1B401.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#98002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1b40;
/* rgb */ color: rgb(139, 27, 64);
/* oklch */ color: oklch(42.4% 0.148 7.1);
Tailwind
colors: {
  custom: {
    50: '#b36474',
    500: '#8b1b40',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b40;
$custom-light: #b36474;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b40",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 340.179,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.14778,
    "h": 7.1
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#8B1B40
secondary
#45BC95
accent
#EAB13D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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