#8D1F45#8D1F45

#8D1F45 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.147 H 5.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8D1F45
RGBrgb(141, 31, 69)
HSLhsl(339, 64%, 34%)
HSVhsv(339, 78%, 55%)
CMYKcmyk(0%, 78%, 51.1%, 44.7%)
CIE-LABlab(31.98, 47.82, 5.22)
CIE-LCHlch(31.98, 48.10, 6.23°)
OKLaboklab(43.26% 0.1462 0.0137)
OKLCHoklch(43.26% 0.147 5.4)
XYZxyz(12.5498, 7.0741, 6.3337)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F45 #1F8D67
analogous
#8D1F7C #8D1F45 #8D301F
triadic
#8D1F45 #458D1F #1F458D
tetradic
#8D1F45 #7C8D1F #1F8D67 #301F8D
square
#8D1F45 #7C8D1F #1F8D67 #301F8D
split-complementary
#8D1F45 #1F8D30 #1F7C8D
monochromatic
#290914 #5B142C #8D1F45 #BF2A5E #D84E7E

Accessibility & contrast

On white

8.70
#8D1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1F45
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F45#FFFFFF#000000##FFFFFF
##8D1F451.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3D46
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#9A022F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1f45;
/* rgb */ color: rgb(141, 31, 69);
/* oklch */ color: oklch(43.3% 0.147 5.4);
Tailwind
colors: {
  custom: {
    50: '#b46678',
    500: '#8d1f45',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f45;
$custom-light: #b46678;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f45",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 339.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43263,
    "c": 0.1468,
    "h": 5.4
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#8D1F45
secondary
#4DBB95
accent
#E7AE41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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