#42080C#42080C

#42080C is a very dark, moderate red. Relative luminance 0.014; OKLCH L 24.9% C 0.087 H 22.9°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#42080C
RGBrgb(66, 8, 12)
HSLhsl(356, 78%, 15%)
HSVhsv(356, 88%, 26%)
CMYKcmyk(0%, 87.9%, 81.8%, 74.1%)
CIE-LABlab(11.68, 27.38, 13.22)
CIE-LCHlch(11.68, 30.40, 25.77°)
OKLaboklab(24.93% 0.08 0.0338)
OKLCHoklch(24.93% 0.087 22.9)
XYZxyz(2.4002, 1.3588, 0.4837)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42080C #08423E
analogous
#420829 #42080C #422108
triadic
#42080C #0C4208 #080C42
tetradic
#42080C #294208 #08423E #210842
square
#42080C #294208 #08423E #210842
split-complementary
#42080C #084221 #082942
monochromatic
#1B0305 #1B0305 #42080C #790F16 #AF1520

Accessibility & contrast

On white

16.51
#42080C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#42080C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42080C
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42080C#FFFFFF#000000##FFFFFF
##42080C1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A170C
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#4A000A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42080c;
/* rgb */ color: rgb(66, 8, 12);
/* oklch */ color: oklch(24.9% 0.087 22.9);
Tailwind
colors: {
  custom: {
    50: '#7c4e4c',
    500: '#42080c',
    950: '#000000',
  },
}
SCSS
$custom: #42080c;
$custom-light: #7c4e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#42080c",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 12
  },
  "hsl": {
    "h": 355.862,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24925,
    "c": 0.08683,
    "h": 22.9
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#42080C
secondary
#25807A
accent
#F5E733
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #42080C

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

Preview Lab → · Contrast checker → · Palette generator →

#42080C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva