#8B1A40#8B1A40

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

Color values

HEX#8B1A40
RGBrgb(139, 26, 64)
HSLhsl(340, 68%, 32%)
HSVhsv(340, 81%, 55%)
CMYKcmyk(0%, 81.3%, 54%, 45.5%)
CIE-LABlab(30.88, 48.38, 6.92)
CIE-LCHlch(30.88, 48.87, 8.14°)
OKLaboklab(42.34% 0.1476 0.0179)
OKLCHoklch(42.34% 0.149 6.9)
XYZxyz(11.9434, 6.5996, 5.4944)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A40 #1A8B65
analogous
#8B1A79 #8B1A40 #8B2C1A
triadic
#8B1A40 #408B1A #1A408B
tetradic
#8B1A40 #798B1A #1A8B65 #2C1A8B
square
#8B1A40 #798B1A #1A8B65 #2C1A8B
split-complementary
#8B1A40 #1A8B2C #1A798B
monochromatic
#240711 #571028 #8B1A40 #BF2458 #DC4377

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1A40#FFFFFF#000000##FFFFFF
##8B1A401.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)
#383A41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#98002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1a40;
/* rgb */ color: rgb(139, 26, 64);
/* oklch */ color: oklch(42.3% 0.149 6.9);
Tailwind
colors: {
  custom: {
    50: '#b36374',
    500: '#8b1a40',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a40;
$custom-light: #b36374;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a40",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 339.823,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.1487,
    "h": 6.9
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#8B1A40
secondary
#44BD94
accent
#EBB13C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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