#8B1849#8B1849

#8B1849 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.153 H 1.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8B1849
RGBrgb(139, 24, 73)
HSLhsl(334, 71%, 32%)
HSVhsv(334, 83%, 55%)
CMYKcmyk(0%, 82.7%, 47.5%, 45.5%)
CIE-LABlab(30.94, 49.75, 1.04)
CIE-LCHlch(30.94, 49.76, 1.19°)
OKLaboklab(42.47% 0.1529 0.0032)
OKLCHoklch(42.47% 0.153 1.2)
XYZxyz(12.1777, 6.6249, 6.9395)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1849 #188B5A
analogous
#8B1883 #8B1849 #8B2118
triadic
#8B1849 #498B18 #18498B
tetradic
#8B1849 #838B18 #188B5A #21188B
square
#8B1849 #838B18 #188B5A #21188B
split-complementary
#8B1849 #188B21 #18838B
monochromatic
#230612 #570F2E #8B1849 #BF2164 #DE3F83

Accessibility & contrast

On white

9.03
#8B1849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1849
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1849#FFFFFF#000000##FFFFFF
##8B18491.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4A
Deuteranopia (green-blind)
#535146
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1849;
/* rgb */ color: rgb(139, 24, 73);
/* oklch */ color: oklch(42.5% 0.153 1.2);
Tailwind
colors: {
  custom: {
    50: '#b2637b',
    500: '#8b1849',
    950: '#000000',
  },
}
SCSS
$custom: #8b1849;
$custom-light: #b2637b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1849",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 334.435,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.15289,
    "h": 1.2
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#8B1849
secondary
#40BE89
accent
#EDA13A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1849

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

Preview Lab → · Contrast checker → · Palette generator →

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