#8D1848#8D1848

#8D1848 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.154 H 2.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8D1848
RGBrgb(141, 24, 72)
HSLhsl(335, 71%, 32%)
HSVhsv(335, 83%, 55%)
CMYKcmyk(0%, 83%, 48.9%, 44.7%)
CIE-LABlab(31.31, 50.21, 2.30)
CIE-LCHlch(31.31, 50.26, 2.62°)
OKLaboklab(42.81% 0.1541 0.0064)
OKLCHoklch(42.81% 0.154 2.4)
XYZxyz(12.4819, 6.7856, 6.7821)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1848 #188D5D
analogous
#8D1882 #8D1848 #8D2318
triadic
#8D1848 #488D18 #18488D
tetradic
#8D1848 #828D18 #188D5D #23188D
square
#8D1848 #828D18 #188D5D #23188D
split-complementary
#8D1848 #188D23 #18828D
monochromatic
#240613 #590F2D #8D1848 #C12163 #DF4182

Accessibility & contrast

On white

8.91
#8D1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8D1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1848
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1848#FFFFFF#000000##FFFFFF
##8D18481.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d1848;
/* rgb */ color: rgb(141, 24, 72);
/* oklch */ color: oklch(42.8% 0.154 2.4);
Tailwind
colors: {
  custom: {
    50: '#b4637a',
    500: '#8d1848',
    950: '#000000',
  },
}
SCSS
$custom: #8d1848;
$custom-light: #b4637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1848",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 335.385,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.15426,
    "h": 2.4
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#8D1848
secondary
#42BF8C
accent
#EEA43A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8D1848

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

Preview Lab → · Contrast checker → · Palette generator →

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