#8B1847#8B1847

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

Color values

HEX#8B1847
RGBrgb(139, 24, 71)
HSLhsl(335, 71%, 32%)
HSVhsv(335, 83%, 55%)
CMYKcmyk(0%, 82.7%, 48.9%, 45.5%)
CIE-LABlab(30.88, 49.56, 2.27)
CIE-LCHlch(30.88, 49.62, 2.62°)
OKLaboklab(42.4% 0.1521 0.0064)
OKLCHoklch(42.4% 0.152 2.4)
XYZxyz(12.1125, 6.5988, 6.5959)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1847 #188B5C
analogous
#8B1881 #8B1847 #8B2218
triadic
#8B1847 #478B18 #18478B
tetradic
#8B1847 #818B18 #188B5C #22188B
square
#8B1847 #818B18 #188B5C #22188B
split-complementary
#8B1847 #188B22 #18818B
monochromatic
#230612 #570F2C #8B1847 #BF2162 #DE3F80

Accessibility & contrast

On white

9.05
#8B1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8B1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1847
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1847#FFFFFF#000000##FFFFFF
##8B18471.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A48
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1847;
/* rgb */ color: rgb(139, 24, 71);
/* oklch */ color: oklch(42.4% 0.152 2.4);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8b1847',
    950: '#000000',
  },
}
SCSS
$custom: #8b1847;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1847",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 335.478,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42402,
    "c": 0.15227,
    "h": 2.4
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#8B1847
secondary
#40BE8B
accent
#EDA43A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1847

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

Preview Lab → · Contrast checker → · Palette generator →

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