#8B1F3F#8B1F3F

#8B1F3F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.144 H 8.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8B1F3F
RGBrgb(139, 31, 63)
HSLhsl(342, 64%, 33%)
HSVhsv(342, 78%, 55%)
CMYKcmyk(0%, 77.7%, 54.7%, 45.5%)
CIE-LABlab(31.42, 46.70, 8.33)
CIE-LCHlch(31.42, 47.44, 10.12°)
OKLaboklab(42.73% 0.1421 0.0213)
OKLCHoklch(42.73% 0.144 8.5)
XYZxyz(12.0358, 6.8295, 5.3861)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F3F #1F8B6B
analogous
#8B1F75 #8B1F3F #8B351F
triadic
#8B1F3F #3F8B1F #1F3F8B
tetradic
#8B1F3F #758B1F #1F8B6B #351F8B
square
#8B1F3F #758B1F #1F8B6B #351F8B
split-complementary
#8B1F3F #1F8B35 #1F758B
monochromatic
#270912 #591428 #8B1F3F #BD2A56 #D74D76

Accessibility & contrast

On white

8.88
#8B1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8B1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F3F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F3F#FFFFFF#000000##FFFFFF
##8B1F3F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C40
Deuteranopia (green-blind)
#57523C
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1f3f;
/* rgb */ color: rgb(139, 31, 63);
/* oklch */ color: oklch(42.7% 0.144 8.5);
Tailwind
colors: {
  custom: {
    50: '#b36573',
    500: '#8b1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f3f;
$custom-light: #b36573;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f3f",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 342.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.14367,
    "h": 8.5
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#8B1F3F
secondary
#4CBA99
accent
#E7B641
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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