#8D1F48#8D1F48

#8D1F48 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.148 H 3.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8D1F48
RGBrgb(141, 31, 72)
HSLhsl(338, 64%, 34%)
HSVhsv(338, 78%, 55%)
CMYKcmyk(0%, 78%, 48.9%, 44.7%)
CIE-LABlab(32.06, 48.09, 3.37)
CIE-LCHlch(32.06, 48.21, 4.01°)
OKLaboklab(43.36% 0.1473 0.0091)
OKLCHoklch(43.36% 0.148 3.5)
XYZxyz(12.6453, 7.1123, 6.8366)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F48 #1F8D64
analogous
#8D1F7F #8D1F48 #8D2D1F
triadic
#8D1F48 #488D1F #1F488D
tetradic
#8D1F48 #7F8D1F #1F8D64 #2D1F8D
square
#8D1F48 #7F8D1F #1F8D64 #2D1F8D
split-complementary
#8D1F48 #1F8D2D #1F7F8D
monochromatic
#290915 #5B142E #8D1F48 #BF2A62 #D84E82

Accessibility & contrast

On white

8.67
#8D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8D1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F48
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F48#FFFFFF#000000##FFFFFF
##8D1F481.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3E49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9A0531
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1f48;
/* rgb */ color: rgb(141, 31, 72);
/* oklch */ color: oklch(43.4% 0.148 3.5);
Tailwind
colors: {
  custom: {
    50: '#b4667a',
    500: '#8d1f48',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f48;
$custom-light: #b4667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f48",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 337.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.14758,
    "h": 3.5
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#8D1F48
secondary
#4DBB92
accent
#E7A941
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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