#8B1747#8B1747

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

Color values

HEX#8B1747
RGBrgb(139, 23, 71)
HSLhsl(335, 72%, 32%)
HSVhsv(335, 83%, 55%)
CMYKcmyk(0%, 83.5%, 48.9%, 45.5%)
CIE-LABlab(30.78, 49.84, 2.13)
CIE-LCHlch(30.78, 49.88, 2.45°)
OKLaboklab(42.33% 0.153 0.006)
OKLCHoklch(42.33% 0.153 2.2)
XYZxyz(12.0922, 6.5584, 6.5892)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1747 #178B5B
analogous
#8B1781 #8B1747 #8B2117
triadic
#8B1747 #478B17 #17478B
tetradic
#8B1747 #818B17 #178B5B #21178B
square
#8B1747 #818B17 #178B5B #21178B
split-complementary
#8B1747 #178B21 #17818B
monochromatic
#220611 #560E2C #8B1747 #C02062 #DF3D80

Accessibility & contrast

On white

9.09
#8B1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8B1747 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1747
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1747#FFFFFF#000000##FFFFFF
##8B17471.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1747;
/* rgb */ color: rgb(139, 23, 71);
/* oklch */ color: oklch(42.3% 0.153 2.2);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8b1747',
    950: '#000000',
  },
}
SCSS
$custom: #8b1747;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1747",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 335.172,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42331,
    "c": 0.15314,
    "h": 2.2
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#8B1747
secondary
#3FBF8A
accent
#EEA339
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1747

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

Preview Lab → · Contrast checker → · Palette generator →

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