#420C08#420C08

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

Color values

HEX#420C08
RGBrgb(66, 12, 8)
HSLhsl(4, 78%, 15%)
HSVhsv(4, 88%, 26%)
CMYKcmyk(0%, 81.8%, 87.9%, 74.1%)
CIE-LABlab(12.22, 25.52, 15.63)
CIE-LCHlch(12.22, 29.93, 31.48°)
OKLaboklab(25.3% 0.073 0.0401)
OKLCHoklch(25.3% 0.083 28.8)
XYZxyz(2.4224, 1.4391, 0.3799)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C08 #083E42
analogous
#420821 #420C08 #422908
triadic
#420C08 #08420C #0C0842
tetradic
#420C08 #214208 #083E42 #290842
square
#420C08 #214208 #083E42 #290842
split-complementary
#420C08 #084229 #082142
monochromatic
#1B0503 #1B0503 #420C08 #79160F #AF2015

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420C08#FFFFFF#000000##FFFFFF
##420C081.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)
#1C1807
Deuteranopia (green-blind)
#292406
Tritanopia (blue-blind)
#4A000C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420c08;
/* rgb */ color: rgb(66, 12, 8);
/* oklch */ color: oklch(25.3% 0.083 28.8);
Tailwind
colors: {
  custom: {
    50: '#7c4f4a',
    500: '#420c08',
    950: '#000000',
  },
}
SCSS
$custom: #420c08;
$custom-light: #7c4f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#420c08",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 8
  },
  "hsl": {
    "h": 4.138,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25304,
    "c": 0.08334,
    "h": 28.8
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#420C08
secondary
#257A80
accent
#E7F533
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420C08

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

Preview Lab → · Contrast checker → · Palette generator →

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