#8D1F4F#8D1F4F

#8D1F4F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.150 H 359.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8D1F4F
RGBrgb(141, 31, 79)
HSLhsl(334, 64%, 34%)
HSVhsv(334, 78%, 55%)
CMYKcmyk(0%, 78%, 44%, 44.7%)
CIE-LABlab(32.28, 48.77, -0.91)
CIE-LCHlch(32.28, 48.78, 358.94°)
OKLaboklab(43.59% 0.1498 -0.0018)
OKLCHoklch(43.59% 0.15 359.3)
XYZxyz(12.8868, 7.2089, 8.1085)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F4F #1F8D5D
analogous
#8D1F86 #8D1F4F #8D261F
triadic
#8D1F4F #4F8D1F #1F4F8D
tetradic
#8D1F4F #868D1F #1F8D5D #261F8D
square
#8D1F4F #868D1F #1F8D5D #261F8D
split-complementary
#8D1F4F #1F8D26 #1F868D
monochromatic
#290917 #5B1433 #8D1F4F #BF2A6B #D84E8A

Accessibility & contrast

On white

8.60
#8D1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F4F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F4F#FFFFFF#000000##FFFFFF
##8D1F4F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383F50
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#990B34
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8d1f4f;
/* rgb */ color: rgb(141, 31, 79);
/* oklch */ color: oklch(43.6% 0.150 359.3);
Tailwind
colors: {
  custom: {
    50: '#b36680',
    500: '#8d1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f4f;
$custom-light: #b36680;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f4f",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 333.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.14983,
    "h": 359.3
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

primary
#8D1F4F
secondary
#4DBB8B
accent
#E79E41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8D1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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