#8D1948#8D1948

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

Color values

HEX#8D1948
RGBrgb(141, 25, 72)
HSLhsl(336, 70%, 33%)
HSVhsv(336, 82%, 55%)
CMYKcmyk(0%, 82.3%, 48.9%, 44.7%)
CIE-LABlab(31.41, 49.93, 2.44)
CIE-LCHlch(31.41, 49.99, 2.79°)
OKLaboklab(42.88% 0.1532 0.0068)
OKLCHoklch(42.88% 0.153 2.5)
XYZxyz(12.5029, 6.8276, 6.7891)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1948 #198D5E
analogous
#8D1982 #8D1948 #8D2419
triadic
#8D1948 #488D19 #19488D
tetradic
#8D1948 #828D19 #198D5E #24198D
square
#8D1948 #828D19 #198D5E #24198D
split-complementary
#8D1948 #198D24 #19828D
monochromatic
#250713 #59102D #8D1948 #C12263 #DE4382

Accessibility & contrast

On white

8.88
#8D1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D1948
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1948#FFFFFF#000000##FFFFFF
##8D19481.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#9A002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1948;
/* rgb */ color: rgb(141, 25, 72);
/* oklch */ color: oklch(42.9% 0.153 2.5);
Tailwind
colors: {
  custom: {
    50: '#b4647a',
    500: '#8d1948',
    950: '#000000',
  },
}
SCSS
$custom: #8d1948;
$custom-light: #b4647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1948",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 335.69,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.15338,
    "h": 2.5
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#8D1948
secondary
#43BF8D
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1948

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

Preview Lab → · Contrast checker → · Palette generator →

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