#8D1F4B#8D1F4B

#8D1F4B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 1.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#8D1F4B
RGBrgb(141, 31, 75)
HSLhsl(336, 64%, 34%)
HSVhsv(336, 78%, 55%)
CMYKcmyk(0%, 78%, 46.8%, 44.7%)
CIE-LABlab(32.15, 48.37, 1.53)
CIE-LCHlch(32.15, 48.40, 1.81°)
OKLaboklab(43.45% 0.1484 0.0045)
OKLCHoklch(43.45% 0.148 1.7)
XYZxyz(12.7455, 7.1524, 7.3646)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F4B #1F8D61
analogous
#8D1F82 #8D1F4B #8D2A1F
triadic
#8D1F4B #4B8D1F #1F4B8D
tetradic
#8D1F4B #828D1F #1F8D61 #2A1F8D
square
#8D1F4B #828D1F #1F8D61 #2A1F8D
split-complementary
#8D1F4B #1F8D2A #1F828D
monochromatic
#290916 #5B1430 #8D1F4B #BF2A66 #D84E85

Accessibility & contrast

On white

8.64
#8D1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8D1F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F4B
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F4B#FFFFFF#000000##FFFFFF
##8D1F4B1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#565348
Tritanopia (blue-blind)
#990732
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f4b;
/* rgb */ color: rgb(141, 31, 75);
/* oklch */ color: oklch(43.5% 0.148 1.7);
Tailwind
colors: {
  custom: {
    50: '#b3667d',
    500: '#8d1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f4b;
$custom-light: #b3667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f4b",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 336,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.14848,
    "h": 1.7
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#8D1F4B
secondary
#4DBB8F
accent
#E7A541
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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