#8D1A48#8D1A48

#8D1A48 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.152 H 2.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8D1A48
RGBrgb(141, 26, 72)
HSLhsl(336, 69%, 33%)
HSVhsv(336, 82%, 55%)
CMYKcmyk(0%, 81.6%, 48.9%, 44.7%)
CIE-LABlab(31.51, 49.65, 2.58)
CIE-LCHlch(31.51, 49.71, 2.98°)
OKLaboklab(42.95% 0.1523 0.0071)
OKLCHoklch(42.95% 0.152 2.7)
XYZxyz(12.5247, 6.8711, 6.7964)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1A48 #1A8D5F
analogous
#8D1A81 #8D1A48 #8D261A
triadic
#8D1A48 #488D1A #1A488D
tetradic
#8D1A48 #818D1A #1A8D5F #261A8D
square
#8D1A48 #818D1A #1A8D5F #261A8D
split-complementary
#8D1A48 #1A8D26 #1A818D
monochromatic
#260713 #59102E #8D1A48 #C12462 #DD4582

Accessibility & contrast

On white

8.85
#8D1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1A48
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1A48#FFFFFF#000000##FFFFFF
##8D1A481.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9A002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1a48;
/* rgb */ color: rgb(141, 26, 72);
/* oklch */ color: oklch(43.0% 0.152 2.7);
Tailwind
colors: {
  custom: {
    50: '#b4647a',
    500: '#8d1a48',
    950: '#000000',
  },
}
SCSS
$custom: #8d1a48;
$custom-light: #b4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1a48",
  "rgb": {
    "r": 141,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 336,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42951,
    "c": 0.15248,
    "h": 2.7
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#8D1A48
secondary
#45BE8E
accent
#ECA53C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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