#8D1837#8D1837

#8D1837 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 12.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#8D1837
RGBrgb(141, 24, 55)
HSLhsl(344, 71%, 32%)
HSVhsv(344, 83%, 55%)
CMYKcmyk(0%, 83%, 61%, 44.7%)
CIE-LABlab(30.86, 48.85, 12.93)
CIE-LCHlch(30.86, 50.53, 14.83°)
OKLaboklab(42.33% 0.1475 0.032)
OKLCHoklch(42.33% 0.151 12.2)
XYZxyz(12.0020, 6.5936, 4.2544)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1837 #188D6E
analogous
#8D1871 #8D1837 #8D3418
triadic
#8D1837 #378D18 #18378D
tetradic
#8D1837 #718D18 #188D6E #34188D
square
#8D1837 #718D18 #188D6E #34188D
split-complementary
#8D1837 #188D34 #18718D
monochromatic
#24060E #590F23 #8D1837 #C1214B #DF416B

Accessibility & contrast

On white

9.06
#8D1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8D1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1837
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1837#FFFFFF#000000##FFFFFF
##8D18371.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3937
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#9B0026
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8d1837;
/* rgb */ color: rgb(141, 24, 55);
/* oklch */ color: oklch(42.3% 0.151 12.2);
Tailwind
colors: {
  custom: {
    50: '#b5636d',
    500: '#8d1837',
    950: '#000000',
  },
}
SCSS
$custom: #8d1837;
$custom-light: #b5636d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1837",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 344.103,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.15089,
    "h": 12.2
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#8D1837
secondary
#42BF9E
accent
#EEBE3A
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1837

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

Preview Lab → · Contrast checker → · Palette generator →

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