#420F07#420F07

#420F07 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.7% C 0.080 H 31.9°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#420F07
RGBrgb(66, 15, 7)
HSLhsl(8, 81%, 14%)
HSVhsv(8, 89%, 26%)
CMYKcmyk(0%, 77.3%, 89.4%, 74.1%)
CIE-LABlab(12.71, 24.09, 16.70)
CIE-LCHlch(12.71, 29.31, 34.73°)
OKLaboklab(25.67% 0.0683 0.0425)
OKLCHoklch(25.67% 0.08 31.9)
XYZxyz(2.4562, 1.5156, 0.3642)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F07 #073A42
analogous
#42071D #420F07 #422D07
triadic
#420F07 #07420F #0F0742
tetradic
#420F07 #1D4207 #073A42 #2D0742
square
#420F07 #1D4207 #073A42 #2D0742
split-complementary
#420F07 #07422D #071D42
monochromatic
#1C0603 #1C0603 #420F07 #791C0D #B12813

Accessibility & contrast

On white

16.12
#420F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#420F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F07
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F07#FFFFFF#000000##FFFFFF
##420F071.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A06
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#4A020E
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #420f07;
/* rgb */ color: rgb(66, 15, 7);
/* oklch */ color: oklch(25.7% 0.080 31.9);
Tailwind
colors: {
  custom: {
    50: '#7b5149',
    500: '#420f07',
    950: '#000000',
  },
}
SCSS
$custom: #420f07;
$custom-light: #7b5149;
$custom-dark: #000000;
JSON
{
  "hex": "#420f07",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 7
  },
  "hsl": {
    "h": 8.136,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25668,
    "c": 0.08042,
    "h": 31.9
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#420F07
secondary
#247481
accent
#DCF731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420F07

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

Preview Lab → · Contrast checker → · Palette generator →

#420F07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva