#420C0E#420C0E

#420C0E is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.082 H 23.4°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#420C0E
RGBrgb(66, 12, 14)
HSLhsl(358, 69%, 15%)
HSVhsv(358, 82%, 26%)
CMYKcmyk(0%, 81.8%, 78.8%, 74.1%)
CIE-LABlab(12.31, 25.84, 13.12)
CIE-LCHlch(12.31, 28.98, 26.92°)
OKLaboklab(25.4% 0.0756 0.0327)
OKLCHoklch(25.4% 0.082 23.4)
XYZxyz(2.4578, 1.4533, 0.5665)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C0E #0C4240
analogous
#420C29 #420C0E #42250C
triadic
#420C0E #0E420C #0C0E42
tetradic
#420C0E #29420C #0C4240 #250C42
square
#420C0E #29420C #0C4240 #250C42
split-complementary
#420C0E #0C4225 #0C2942
monochromatic
#1A0505 #1A0505 #420C0E #761519 #AA1F24

Accessibility & contrast

On white

16.27
#420C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C0E
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C0E#FFFFFF#000000##FFFFFF
##420C0E1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B190E
Deuteranopia (green-blind)
#29240C
Tritanopia (blue-blind)
#49000D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420c0e;
/* rgb */ color: rgb(66, 12, 14);
/* oklch */ color: oklch(25.4% 0.082 23.4);
Tailwind
colors: {
  custom: {
    50: '#7b504d',
    500: '#420c0e',
    950: '#000000',
  },
}
SCSS
$custom: #420c0e;
$custom-light: #7b504d;
$custom-dark: #000000;
JSON
{
  "hex": "#420c0e",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 14
  },
  "hsl": {
    "h": 357.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25403,
    "c": 0.08238,
    "h": 23.4
  },
  "luminance": 0.01453
}

Semantic roles & 50–950 ramp

primary
#420C0E
secondary
#2C7E7B
accent
#ECE63C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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