#8C1942#8C1942

#8C1942 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.151 H 5.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#8C1942
RGBrgb(140, 25, 66)
HSLhsl(339, 70%, 32%)
HSVhsv(339, 82%, 55%)
CMYKcmyk(0%, 82.1%, 52.9%, 45.1%)
CIE-LABlab(31.03, 49.12, 5.84)
CIE-LCHlch(31.03, 49.47, 6.78°)
OKLaboklab(42.51% 0.1502 0.0152)
OKLCHoklch(42.51% 0.151 5.8)
XYZxyz(12.1473, 6.6658, 5.8002)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1942 #198C63
analogous
#8C197B #8C1942 #8C2A19
triadic
#8C1942 #428C19 #19428C
tetradic
#8C1942 #7B8C19 #198C63 #2A198C
square
#8C1942 #7B8C19 #198C63 #2A198C
split-complementary
#8C1942 #198C2A #197B8C
monochromatic
#240611 #58102A #8C1942 #C0225A #DD4279

Accessibility & contrast

On white

9.00
#8C1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8C1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1942
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1942#FFFFFF#000000##FFFFFF
##8C19421.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#99002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c1942;
/* rgb */ color: rgb(140, 25, 66);
/* oklch */ color: oklch(42.5% 0.151 5.8);
Tailwind
colors: {
  custom: {
    50: '#b36376',
    500: '#8c1942',
    950: '#000000',
  },
}
SCSS
$custom: #8c1942;
$custom-light: #b36376;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1942",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 338.609,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.15093,
    "h": 5.8
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#8C1942
secondary
#43BE92
accent
#EDAD3B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8C1942

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

Preview Lab → · Contrast checker → · Palette generator →

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