#8D1A45#8D1A45

#8D1A45 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.152 H 4.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8D1A45
RGBrgb(141, 26, 69)
HSLhsl(338, 69%, 33%)
HSVhsv(338, 82%, 55%)
CMYKcmyk(0%, 81.6%, 51.1%, 44.7%)
CIE-LABlab(31.42, 49.38, 4.44)
CIE-LCHlch(31.42, 49.58, 5.13°)
OKLaboklab(42.86% 0.1512 0.0118)
OKLCHoklch(42.86% 0.152 4.5)
XYZxyz(12.4292, 6.8329, 6.2935)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A45 #1A8D62
analogous
#8D1A7E #8D1A45 #8D281A
triadic
#8D1A45 #458D1A #1A458D
tetradic
#8D1A45 #7E8D1A #1A8D62 #281A8D
square
#8D1A45 #7E8D1A #1A8D62 #281A8D
split-complementary
#8D1A45 #1A8D28 #1A7E8D
monochromatic
#260712 #59102C #8D1A45 #C1245E #DD457E

Accessibility & contrast

On white

8.87
#8D1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1A45
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A45#FFFFFF#000000##FFFFFF
##8D1A451.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#565242
Tritanopia (blue-blind)
#9A002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1a45;
/* rgb */ color: rgb(141, 26, 69);
/* oklch */ color: oklch(42.9% 0.152 4.5);
Tailwind
colors: {
  custom: {
    50: '#b46478',
    500: '#8d1a45',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a45;
$custom-light: #b46478;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a45",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 337.565,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.15165,
    "h": 4.5
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#8D1A45
secondary
#45BE91
accent
#ECAA3C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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