#420C07#420C07

#420C07 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.3% C 0.084 H 29.7°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#420C07
RGBrgb(66, 12, 7)
HSLhsl(5, 81%, 14%)
HSVhsv(5, 89%, 26%)
CMYKcmyk(0%, 81.8%, 89.4%, 74.1%)
CIE-LABlab(12.20, 25.47, 16.01)
CIE-LCHlch(12.20, 30.09, 32.16°)
OKLaboklab(25.29% 0.0726 0.0414)
OKLCHoklch(25.29% 0.084 29.7)
XYZxyz(2.4169, 1.4369, 0.3511)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C07 #073D42
analogous
#420720 #420C07 #422A07
triadic
#420C07 #07420C #0C0742
tetradic
#420C07 #204207 #073D42 #2A0742
square
#420C07 #204207 #073D42 #2A0742
split-complementary
#420C07 #07422A #072042
monochromatic
#1C0503 #1C0503 #420C07 #79160D #B12013

Accessibility & contrast

On white

16.31
#420C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#420C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C07
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C07#FFFFFF#000000##FFFFFF
##420C071.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1806
Deuteranopia (green-blind)
#2A2405
Tritanopia (blue-blind)
#4A000B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420c07;
/* rgb */ color: rgb(66, 12, 7);
/* oklch */ color: oklch(25.3% 0.084 29.7);
Tailwind
colors: {
  custom: {
    50: '#7c4f49',
    500: '#420c07',
    950: '#000000',
  },
}
SCSS
$custom: #420c07;
$custom-light: #7c4f49;
$custom-dark: #000000;
JSON
{
  "hex": "#420c07",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 7
  },
  "hsl": {
    "h": 5.085,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25289,
    "c": 0.08356,
    "h": 29.7
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#420C07
secondary
#247981
accent
#E6F731
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420C07

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

Preview Lab → · Contrast checker → · Palette generator →

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