#8D1F42#8D1F42

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

Color values

HEX#8D1F42
RGBrgb(141, 31, 66)
HSLhsl(341, 64%, 34%)
HSVhsv(341, 78%, 55%)
CMYKcmyk(0%, 78%, 53.2%, 44.7%)
CIE-LABlab(31.89, 47.56, 7.08)
CIE-LCHlch(31.89, 48.08, 8.47°)
OKLaboklab(43.18% 0.145 0.0183)
OKLCHoklch(43.18% 0.146 7.2)
XYZxyz(12.4590, 7.0378, 5.8556)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F42 #1F8D6A
analogous
#8D1F79 #8D1F42 #8D331F
triadic
#8D1F42 #428D1F #1F428D
tetradic
#8D1F42 #798D1F #1F8D6A #331F8D
square
#8D1F42 #798D1F #1F8D6A #331F8D
split-complementary
#8D1F42 #1F8D33 #1F798D
monochromatic
#290913 #5B142B #8D1F42 #BF2A59 #D84E7A

Accessibility & contrast

On white

8.72
#8D1F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8D1F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F42
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F42#FFFFFF#000000##FFFFFF
##8D1F421.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D43
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#9A002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1f42;
/* rgb */ color: rgb(141, 31, 66);
/* oklch */ color: oklch(43.2% 0.146 7.2);
Tailwind
colors: {
  custom: {
    50: '#b46676',
    500: '#8d1f42',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f42;
$custom-light: #b46676;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f42",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 340.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.14615,
    "h": 7.2
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#8D1F42
secondary
#4DBB98
accent
#E7B241
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1F42

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

Preview Lab → · Contrast checker → · Palette generator →

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