#8C242B#8C242B

#8C242B is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.139 H 21.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8C242B
RGBrgb(140, 36, 43)
HSLhsl(356, 59%, 35%)
HSVhsv(356, 74%, 55%)
CMYKcmyk(0%, 74.3%, 69.3%, 45.1%)
CIE-LABlab(31.84, 43.82, 21.98)
CIE-LCHlch(31.84, 49.03, 26.64°)
OKLaboklab(42.94% 0.129 0.0515)
OKLCHoklch(42.94% 0.139 21.8)
XYZxyz(11.8834, 7.0134, 3.0130)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C242B #248C85
analogous
#8C245F #8C242B #8C5124
triadic
#8C242B #2B8C24 #242B8C
tetradic
#8C242B #5F8C24 #248C85 #51248C
square
#8C242B #5F8C24 #248C85 #51248C
split-complementary
#8C242B #248C51 #245F8C
monochromatic
#2B0B0D #5B171C #8C242B #BD313A #D4575F

Accessibility & contrast

On white

8.74
#8C242B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8C242B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C242B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C242B#FFFFFF#000000##FFFFFF
##8C242B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2A
Deuteranopia (green-blind)
#5C5328
Tritanopia (blue-blind)
#9A0028
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c242b;
/* rgb */ color: rgb(140, 36, 43);
/* oklch */ color: oklch(42.9% 0.139 21.8);
Tailwind
colors: {
  custom: {
    50: '#b56764',
    500: '#8c242b',
    950: '#000000',
  },
}
SCSS
$custom: #8c242b;
$custom-light: #b56764;
$custom-dark: #000000;
JSON
{
  "hex": "#8c242b",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 43
  },
  "hsl": {
    "h": 355.962,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42938,
    "c": 0.13887,
    "h": 21.8
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#8C242B
secondary
#54B8B1
accent
#E2D846
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8C242B

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

Preview Lab → · Contrast checker → · Palette generator →

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