#420A0C#420A0C

#420A0C is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.085 H 24.1°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#420A0C
RGBrgb(66, 10, 12)
HSLhsl(358, 74%, 15%)
HSVhsv(358, 85%, 26%)
CMYKcmyk(0%, 84.8%, 81.8%, 74.1%)
CIE-LABlab(11.97, 26.56, 13.62)
CIE-LCHlch(11.97, 29.85, 27.15°)
OKLaboklab(25.14% 0.0774 0.0346)
OKLCHoklch(25.14% 0.085 24.1)
XYZxyz(2.4219, 1.4023, 0.4909)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420A0C #0A4240
analogous
#420A28 #420A0C #42240A
triadic
#420A0C #0C420A #0A0C42
tetradic
#420A0C #28420A #0A4240 #240A42
square
#420A0C #28420A #0A4240 #240A42
split-complementary
#420A0C #0A4224 #0A2842
monochromatic
#1B0405 #1B0405 #420A0C #771216 #AC1A1F

Accessibility & contrast

On white

16.40
#420A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#420A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420A0C
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420A0C#FFFFFF#000000##FFFFFF
##420A0C1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B180C
Deuteranopia (green-blind)
#29240A
Tritanopia (blue-blind)
#49000B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #420a0c;
/* rgb */ color: rgb(66, 10, 12);
/* oklch */ color: oklch(25.1% 0.085 24.1);
Tailwind
colors: {
  custom: {
    50: '#7c4f4c',
    500: '#420a0c',
    950: '#000000',
  },
}
SCSS
$custom: #420a0c;
$custom-light: #7c4f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#420a0c",
  "rgb": {
    "r": 66,
    "g": 10,
    "b": 12
  },
  "hsl": {
    "h": 357.857,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25142,
    "c": 0.08474,
    "h": 24.1
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#420A0C
secondary
#297F7C
accent
#F0EA37
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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