#8B1F4E#8B1F4E

#8B1F4E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.148 H 359.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8B1F4E
RGBrgb(139, 31, 78)
HSLhsl(334, 64%, 33%)
HSVhsv(334, 78%, 55%)
CMYKcmyk(0%, 77.7%, 43.9%, 45.5%)
CIE-LABlab(31.85, 48.09, -0.92)
CIE-LCHlch(31.85, 48.10, 358.91°)
OKLaboklab(43.19% 0.1477 -0.0018)
OKLCHoklch(43.19% 0.148 359.3)
XYZxyz(12.5135, 7.0206, 7.9024)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F4E #1F8B5C
analogous
#8B1F84 #8B1F4E #8B261F
triadic
#8B1F4E #4E8B1F #1F4E8B
tetradic
#8B1F4E #848B1F #1F8B5C #261F8B
square
#8B1F4E #848B1F #1F8B5C #261F8B
split-complementary
#8B1F4E #1F8B26 #1F848B
monochromatic
#270916 #591432 #8B1F4E #BD2A6A #D74D89

Accessibility & contrast

On white

8.74
#8B1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8B1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F4E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F4E#FFFFFF#000000##FFFFFF
##8B1F4E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#970C34
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1f4e;
/* rgb */ color: rgb(139, 31, 78);
/* oklch */ color: oklch(43.2% 0.148 359.3);
Tailwind
colors: {
  custom: {
    50: '#b2667f',
    500: '#8b1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f4e;
$custom-light: #b2667f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f4e",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 333.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43191,
    "c": 0.14773,
    "h": 359.3
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#8B1F4E
secondary
#4CBA8A
accent
#E79F41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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