#42070C#42070C

#42070C is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.8% C 0.088 H 22.4°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#42070C
RGBrgb(66, 7, 12)
HSLhsl(355, 81%, 14%)
HSVhsv(355, 89%, 26%)
CMYKcmyk(0%, 89.4%, 81.8%, 74.1%)
CIE-LABlab(11.53, 27.80, 13.02)
CIE-LCHlch(11.53, 30.69, 25.09°)
OKLaboklab(24.82% 0.0813 0.0334)
OKLCHoklch(24.82% 0.088 22.4)
XYZxyz(2.3894, 1.3371, 0.4800)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42070C #07423D
analogous
#42072A #42070C #422007
triadic
#42070C #0C4207 #070C42
tetradic
#42070C #2A4207 #07423D #200742
square
#42070C #2A4207 #07423D #200742
split-complementary
#42070C #074220 #072A42
monochromatic
#1C0305 #1C0305 #42070C #790D16 #B11320

Accessibility & contrast

On white

16.57
#42070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42070C
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42070C#FFFFFF#000000##FFFFFF
##42070C1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19160C
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#4A0009
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42070c;
/* rgb */ color: rgb(66, 7, 12);
/* oklch */ color: oklch(24.8% 0.088 22.4);
Tailwind
colors: {
  custom: {
    50: '#7c4d4c',
    500: '#42070c',
    950: '#000000',
  },
}
SCSS
$custom: #42070c;
$custom-light: #7c4d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#42070c",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 354.915,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24815,
    "c": 0.08791,
    "h": 22.4
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#42070C
secondary
#248179
accent
#F7E631
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #42070C

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

Preview Lab → · Contrast checker → · Palette generator →

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