#8B1837#8B1837

#8B1837 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.149 H 11.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8B1837
RGBrgb(139, 24, 55)
HSLhsl(344, 71%, 32%)
HSVhsv(344, 83%, 55%)
CMYKcmyk(0%, 82.7%, 60.4%, 45.5%)
CIE-LABlab(30.45, 48.27, 12.30)
CIE-LCHlch(30.45, 49.81, 14.30°)
OKLaboklab(41.95% 0.1459 0.0305)
OKLCHoklch(41.95% 0.149 11.8)
XYZxyz(11.6649, 6.4198, 4.2386)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1837 #188B6C
analogous
#8B1871 #8B1837 #8B3318
triadic
#8B1837 #378B18 #18378B
tetradic
#8B1837 #718B18 #188B6C #33188B
square
#8B1837 #718B18 #188B6C #33188B
split-complementary
#8B1837 #188B33 #18718B
monochromatic
#23060E #570F22 #8B1837 #BF214C #DE3F6A

Accessibility & contrast

On white

9.20
#8B1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8B1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1837
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1837#FFFFFF#000000##FFFFFF
##8B18371.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393937
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#990026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1837;
/* rgb */ color: rgb(139, 24, 55);
/* oklch */ color: oklch(41.9% 0.149 11.8);
Tailwind
colors: {
  custom: {
    50: '#b3626d',
    500: '#8b1837',
    950: '#000000',
  },
}
SCSS
$custom: #8b1837;
$custom-light: #b3626d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1837",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 343.826,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.14902,
    "h": 11.8
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#8B1837
secondary
#40BE9C
accent
#EDBD3A
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B1837

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

Preview Lab → · Contrast checker → · Palette generator →

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