#8B1840#8B1840

#8B1840 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.150 H 6.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8B1840
RGBrgb(139, 24, 64)
HSLhsl(339, 71%, 32%)
HSVhsv(339, 83%, 55%)
CMYKcmyk(0%, 82.7%, 54%, 45.5%)
CIE-LABlab(30.67, 48.96, 6.63)
CIE-LCHlch(30.67, 49.40, 7.71°)
OKLaboklab(42.19% 0.1495 0.0172)
OKLCHoklch(42.19% 0.15 6.5)
XYZxyz(11.9006, 6.5141, 5.4802)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1840 #188B63
analogous
#8B187A #8B1840 #8B2918
triadic
#8B1840 #408B18 #18408B
tetradic
#8B1840 #7A8B18 #188B63 #29188B
square
#8B1840 #7A8B18 #188B63 #29188B
split-complementary
#8B1840 #188B29 #187A8B
monochromatic
#230610 #570F28 #8B1840 #BF2158 #DE3F77

Accessibility & contrast

On white

9.12
#8B1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8B1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1840
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1840#FFFFFF#000000##FFFFFF
##8B18401.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1840;
/* rgb */ color: rgb(139, 24, 64);
/* oklch */ color: oklch(42.2% 0.150 6.5);
Tailwind
colors: {
  custom: {
    50: '#b36374',
    500: '#8b1840',
    950: '#000000',
  },
}
SCSS
$custom: #8b1840;
$custom-light: #b36374;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1840",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 339.13,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.15047,
    "h": 6.5
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#8B1840
secondary
#40BE93
accent
#EDAF3A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1840

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

Preview Lab → · Contrast checker → · Palette generator →

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