#8B1F5F#8B1F5F

#8B1F5F is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.156 H 349.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8B1F5F
RGBrgb(139, 31, 95)
HSLhsl(324, 64%, 33%)
HSVhsv(324, 78%, 55%)
CMYKcmyk(0%, 77.7%, 31.7%, 45.5%)
CIE-LABlab(32.47, 50.02, -11.07)
CIE-LCHlch(32.47, 51.23, 347.52°)
OKLaboklab(43.85% 0.1528 -0.029)
OKLCHoklch(43.85% 0.156 349.3)
XYZxyz(13.2037, 7.2967, 11.5373)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F5F #1F8B4B
analogous
#811F8B #8B1F5F #8B1F29
triadic
#8B1F5F #5F8B1F #1F5F8B
tetradic
#8B1F5F #8B811F #1F8B4B #1F298B
square
#8B1F5F #8B811F #1F8B4B #1F298B
split-complementary
#8B1F5F #298B1F #1F8B81
monochromatic
#27091B #59143D #8B1F5F #BD2A81 #D74D9F

Accessibility & contrast

On white

8.54
#8B1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8B1F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F5F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F5F#FFFFFF#000000##FFFFFF
##8B1F5F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314061
Deuteranopia (green-blind)
#50535D
Tritanopia (blue-blind)
#95183C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1f5f;
/* rgb */ color: rgb(139, 31, 95);
/* oklch */ color: oklch(43.8% 0.156 349.3);
Tailwind
colors: {
  custom: {
    50: '#b1668c',
    500: '#8b1f5f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f5f;
$custom-light: #b1668c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f5f",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 324.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.15553,
    "h": 349.3
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#8B1F5F
secondary
#4CBA79
accent
#E78541
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8B1F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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