#42070F#42070F

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

Color values

HEX#42070F
RGBrgb(66, 7, 15)
HSLhsl(352, 81%, 14%)
HSVhsv(352, 89%, 26%)
CMYKcmyk(0%, 89.4%, 77.3%, 74.1%)
CIE-LABlab(11.59, 27.96, 11.62)
CIE-LCHlch(11.59, 30.28, 22.56°)
OKLaboklab(24.87% 0.0827 0.0294)
OKLCHoklch(24.87% 0.088 19.6)
XYZxyz(2.4092, 1.3451, 0.5846)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42070F #07423A
analogous
#42072D #42070F #421D07
triadic
#42070F #0F4207 #070F42
tetradic
#42070F #2D4207 #07423A #1D0742
square
#42070F #2D4207 #07423A #1D0742
split-complementary
#42070F #07421D #072D42
monochromatic
#1C0306 #1C0306 #42070F #790D1C #B11328

Accessibility & contrast

On white

16.55
#42070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42070F
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42070F#FFFFFF#000000##FFFFFF
##42070F1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19170F
Deuteranopia (green-blind)
#28230D
Tritanopia (blue-blind)
#49000A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42070f;
/* rgb */ color: rgb(66, 7, 15);
/* oklch */ color: oklch(24.9% 0.088 19.6);
Tailwind
colors: {
  custom: {
    50: '#7c4d4d',
    500: '#42070f',
    950: '#000000',
  },
}
SCSS
$custom: #42070f;
$custom-light: #7c4d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#42070f",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 351.864,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24873,
    "c": 0.08771,
    "h": 19.6
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#42070F
secondary
#248174
accent
#F7DC31
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #42070F

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

Preview Lab → · Contrast checker → · Palette generator →

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