#420C0D#420C0D

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

Color values

HEX#420C0D
RGBrgb(66, 12, 13)
HSLhsl(359, 69%, 15%)
HSVhsv(359, 82%, 26%)
CMYKcmyk(0%, 81.8%, 80.3%, 74.1%)
CIE-LABlab(12.29, 25.78, 13.59)
CIE-LCHlch(12.29, 29.14, 27.79°)
OKLaboklab(25.38% 0.0752 0.0341)
OKLCHoklch(25.38% 0.083 24.4)
XYZxyz(2.4512, 1.4506, 0.5316)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C0D #0C4241
analogous
#420C28 #420C0D #42260C
triadic
#420C0D #0D420C #0C0D42
tetradic
#420C0D #28420C #0C4241 #260C42
square
#420C0D #28420C #0C4241 #260C42
split-complementary
#420C0D #0C4226 #0C2842
monochromatic
#1A0505 #1A0505 #420C0D #761517 #AA1F21

Accessibility & contrast

On white

16.28
#420C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C0D
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C0D#FFFFFF#000000##FFFFFF
##420C0D1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420c0d;
/* rgb */ color: rgb(66, 12, 13);
/* oklch */ color: oklch(25.4% 0.083 24.4);
Tailwind
colors: {
  custom: {
    50: '#7b4f4c',
    500: '#420c0d',
    950: '#000000',
  },
}
SCSS
$custom: #420c0d;
$custom-light: #7b4f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#420c0d",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 13
  },
  "hsl": {
    "h": 358.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25384,
    "c": 0.08252,
    "h": 24.4
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#420C0D
secondary
#2C7E7D
accent
#ECE93C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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