#8C1340#8C1340

#8C1340 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 6.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8C1340
RGBrgb(140, 19, 64)
HSLhsl(338, 76%, 31%)
HSVhsv(338, 86%, 55%)
CMYKcmyk(0%, 86.4%, 54.3%, 45.1%)
CIE-LABlab(30.43, 50.52, 6.32)
CIE-LCHlch(30.43, 50.91, 7.13°)
OKLaboklab(42.05% 0.1544 0.0164)
OKLCHoklch(42.05% 0.155 6.1)
XYZxyz(11.9746, 6.4131, 5.4568)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1340 #138C5F
analogous
#8C137C #8C1340 #8C2213
triadic
#8C1340 #408C13 #13408C
tetradic
#8C1340 #7C8C13 #138C5F #22138C
square
#8C1340 #7C8C13 #138C5F #22138C
split-complementary
#8C1340 #138C22 #137C8C
monochromatic
#20040F #560C27 #8C1340 #C21A59 #E43676

Accessibility & contrast

On white

9.20
#8C1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8C1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1340
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1340#FFFFFF#000000##FFFFFF
##8C13401.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#990028
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c1340;
/* rgb */ color: rgb(140, 19, 64);
/* oklch */ color: oklch(42.0% 0.155 6.1);
Tailwind
colors: {
  custom: {
    50: '#b46174',
    500: '#8c1340',
    950: '#000000',
  },
}
SCSS
$custom: #8c1340;
$custom-light: #b46174;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1340",
  "rgb": {
    "r": 140,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 337.686,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.15531,
    "h": 6.1
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#8C1340
secondary
#3BC08F
accent
#F3AC35
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8C1340

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

Preview Lab → · Contrast checker → · Palette generator →

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