#8C1947#8C1947

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

Color values

HEX#8C1947
RGBrgb(140, 25, 71)
HSLhsl(336, 70%, 32%)
HSVhsv(336, 82%, 55%)
CMYKcmyk(0%, 82.1%, 49.3%, 45.1%)
CIE-LABlab(31.18, 49.56, 2.73)
CIE-LCHlch(31.18, 49.64, 3.16°)
OKLaboklab(42.66% 0.1521 0.0075)
OKLCHoklch(42.66% 0.152 2.8)
XYZxyz(12.3012, 6.7274, 6.6108)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1947 #198C5E
analogous
#8C1981 #8C1947 #8C2519
triadic
#8C1947 #478C19 #19478C
tetradic
#8C1947 #818C19 #198C5E #25198C
square
#8C1947 #818C19 #198C5E #25198C
split-complementary
#8C1947 #198C25 #19818C
monochromatic
#240612 #58102D #8C1947 #C02261 #DD4280

Accessibility & contrast

On white

8.95
#8C1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8C1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1947
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1947#FFFFFF#000000##FFFFFF
##8C19471.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#99002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1947;
/* rgb */ color: rgb(140, 25, 71);
/* oklch */ color: oklch(42.7% 0.152 2.8);
Tailwind
colors: {
  custom: {
    50: '#b3637a',
    500: '#8c1947',
    950: '#000000',
  },
}
SCSS
$custom: #8c1947;
$custom-light: #b3637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1947",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 336,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.15224,
    "h": 2.8
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#8C1947
secondary
#43BE8D
accent
#EDA63B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C1947

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

Preview Lab → · Contrast checker → · Palette generator →

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