#8D1840#8D1840

#8D1840 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.152 H 7.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8D1840
RGBrgb(141, 24, 64)
HSLhsl(339, 71%, 32%)
HSVhsv(339, 83%, 55%)
CMYKcmyk(0%, 83%, 54.6%, 44.7%)
CIE-LABlab(31.09, 49.52, 7.27)
CIE-LCHlch(31.09, 50.05, 8.35°)
OKLaboklab(42.56% 0.1511 0.0187)
OKLCHoklch(42.56% 0.152 7.1)
XYZxyz(12.2377, 6.6879, 5.4960)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1840 #188D65
analogous
#8D187B #8D1840 #8D2A18
triadic
#8D1840 #408D18 #18408D
tetradic
#8D1840 #7B8D18 #188D65 #2A188D
square
#8D1840 #7B8D18 #188D65 #2A188D
split-complementary
#8D1840 #188D2A #187B8D
monochromatic
#240611 #590F28 #8D1840 #C12158 #DF4177

Accessibility & contrast

On white

8.99
#8D1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8D1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1840
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1840#FFFFFF#000000##FFFFFF
##8D18401.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9A002A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1840;
/* rgb */ color: rgb(141, 24, 64);
/* oklch */ color: oklch(42.6% 0.152 7.1);
Tailwind
colors: {
  custom: {
    50: '#b46374',
    500: '#8d1840',
    950: '#000000',
  },
}
SCSS
$custom: #8d1840;
$custom-light: #b46374;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1840",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 339.487,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42564,
    "c": 0.15224,
    "h": 7.1
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#8D1840
secondary
#42BF94
accent
#EEB03A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8D1840

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

Preview Lab → · Contrast checker → · Palette generator →

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