#8D1F4D#8D1F4D

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

Color values

HEX#8D1F4D
RGBrgb(141, 31, 77)
HSLhsl(335, 64%, 34%)
HSVhsv(335, 78%, 55%)
CMYKcmyk(0%, 78%, 45.4%, 44.7%)
CIE-LABlab(32.21, 48.57, 0.31)
CIE-LCHlch(32.21, 48.57, 0.37°)
OKLaboklab(43.52% 0.1491 0.0014)
OKLCHoklch(43.52% 0.149 0.5)
XYZxyz(12.8151, 7.1802, 7.7308)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F4D #1F8D5F
analogous
#8D1F84 #8D1F4D #8D281F
triadic
#8D1F4D #4D8D1F #1F4D8D
tetradic
#8D1F4D #848D1F #1F8D5F #281F8D
square
#8D1F4D #848D1F #1F8D5F #281F8D
split-complementary
#8D1F4D #1F8D28 #1F848D
monochromatic
#290916 #5B1432 #8D1F4D #BF2A68 #D84E88

Accessibility & contrast

On white

8.62
#8D1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8D1F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F4D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F4D#FFFFFF#000000##FFFFFF
##8D1F4D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4E
Deuteranopia (green-blind)
#56534A
Tritanopia (blue-blind)
#990933
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f4d;
/* rgb */ color: rgb(141, 31, 77);
/* oklch */ color: oklch(43.5% 0.149 0.5);
Tailwind
colors: {
  custom: {
    50: '#b3667e',
    500: '#8d1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f4d;
$custom-light: #b3667e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f4d",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 334.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.14913,
    "h": 0.5
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#8D1F4D
secondary
#4DBB8D
accent
#E7A141
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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