#8D1F40#8D1F40

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

Color values

HEX#8D1F40
RGBrgb(141, 31, 64)
HSLhsl(342, 64%, 34%)
HSVhsv(342, 78%, 55%)
CMYKcmyk(0%, 78%, 54.6%, 44.7%)
CIE-LABlab(31.84, 47.39, 8.33)
CIE-LCHlch(31.84, 48.12, 9.96°)
OKLaboklab(43.12% 0.1442 0.0213)
OKLCHoklch(43.12% 0.146 8.4)
XYZxyz(12.4011, 7.0146, 5.5504)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F40 #1F8D6C
analogous
#8D1F77 #8D1F40 #8D351F
triadic
#8D1F40 #408D1F #1F408D
tetradic
#8D1F40 #778D1F #1F8D6C #351F8D
square
#8D1F40 #778D1F #1F8D6C #351F8D
split-complementary
#8D1F40 #1F8D35 #1F778D
monochromatic
#290912 #5B1429 #8D1F40 #BF2A57 #D84E78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1F40#FFFFFF#000000##FFFFFF
##8D1F401.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)
#3C3D41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9A002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1f40;
/* rgb */ color: rgb(141, 31, 64);
/* oklch */ color: oklch(43.1% 0.146 8.4);
Tailwind
colors: {
  custom: {
    50: '#b46674',
    500: '#8d1f40',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f40;
$custom-light: #b46674;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f40",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 342,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4312,
    "c": 0.14576,
    "h": 8.4
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#8D1F40
secondary
#4DBB9A
accent
#E7B541
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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