#8B1740#8B1740

#8B1740 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 6.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8B1740
RGBrgb(139, 23, 64)
HSLhsl(339, 72%, 32%)
HSVhsv(339, 83%, 55%)
CMYKcmyk(0%, 83.5%, 54%, 45.5%)
CIE-LABlab(30.58, 49.23, 6.49)
CIE-LCHlch(30.58, 49.66, 7.51°)
OKLaboklab(42.12% 0.1504 0.0168)
OKLCHoklch(42.12% 0.151 6.4)
XYZxyz(11.8804, 6.4736, 5.4735)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1740 #178B62
analogous
#8B177A #8B1740 #8B2817
triadic
#8B1740 #408B17 #17408B
tetradic
#8B1740 #7A8B17 #178B62 #28178B
square
#8B1740 #7A8B17 #178B62 #28178B
split-complementary
#8B1740 #178B28 #177A8B
monochromatic
#220610 #560E28 #8B1740 #C02058 #DF3D77

Accessibility & contrast

On white

9.15
#8B1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8B1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1740
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1740#FFFFFF#000000##FFFFFF
##8B17401.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#98002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1740;
/* rgb */ color: rgb(139, 23, 64);
/* oklch */ color: oklch(42.1% 0.151 6.4);
Tailwind
colors: {
  custom: {
    50: '#b36274',
    500: '#8b1740',
    950: '#000000',
  },
}
SCSS
$custom: #8b1740;
$custom-light: #b36274;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1740",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 338.793,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.15132,
    "h": 6.4
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#8B1740
secondary
#3FBF92
accent
#EEAE39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1740

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

Preview Lab → · Contrast checker → · Palette generator →

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