#8C1145#8C1145

#8C1145 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.158 H 2.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#8C1145
RGBrgb(140, 17, 69)
HSLhsl(335, 78%, 31%)
HSVhsv(335, 88%, 55%)
CMYKcmyk(0%, 87.9%, 50.7%, 45.1%)
CIE-LABlab(30.42, 51.38, 2.97)
CIE-LCHlch(30.42, 51.47, 3.31°)
OKLaboklab(42.08% 0.1578 0.0081)
OKLCHoklch(42.08% 0.158 2.9)
XYZxyz(12.0909, 6.4078, 6.2292)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1145 #118C58
analogous
#8C1182 #8C1145 #8C1A11
triadic
#8C1145 #458C11 #11458C
tetradic
#8C1145 #828C11 #118C58 #1A118C
square
#8C1145 #828C11 #118C58 #1A118C
split-complementary
#8C1145 #118C1A #11828C
monochromatic
#1F040F #550A2A #8C1145 #C31860 #E6317E

Accessibility & contrast

On white

9.21
#8C1145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C1145
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1145#FFFFFF#000000##FFFFFF
##8C11451.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333946
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#99002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c1145;
/* rgb */ color: rgb(140, 17, 69);
/* oklch */ color: oklch(42.1% 0.158 2.9);
Tailwind
colors: {
  custom: {
    50: '#b36178',
    500: '#8c1145',
    950: '#000000',
  },
}
SCSS
$custom: #8c1145;
$custom-light: #b36178;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1145",
  "rgb": {
    "r": 140,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 334.634,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.15799,
    "h": 2.9
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#8C1145
secondary
#38C187
accent
#F5A333
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8C1145

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

Preview Lab → · Contrast checker → · Palette generator →

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