#420C0F#420C0F

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

Color values

HEX#420C0F
RGBrgb(66, 12, 15)
HSLhsl(357, 69%, 15%)
HSVhsv(357, 82%, 26%)
CMYKcmyk(0%, 81.8%, 77.3%, 74.1%)
CIE-LABlab(12.33, 25.90, 12.63)
CIE-LCHlch(12.33, 28.81, 25.99°)
OKLaboklab(25.42% 0.0761 0.0314)
OKLCHoklch(25.42% 0.082 22.4)
XYZxyz(2.4647, 1.4561, 0.6031)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C0F #0C423F
analogous
#420C2A #420C0F #42240C
triadic
#420C0F #0F420C #0C0F42
tetradic
#420C0F #2A420C #0C423F #240C42
square
#420C0F #2A420C #0C423F #240C42
split-complementary
#420C0F #0C4224 #0C2A42
monochromatic
#1A0506 #1A0506 #420C0F #76151B #AA1F27

Accessibility & contrast

On white

16.26
#420C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420C0F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C0F#FFFFFF#000000##FFFFFF
##420C0F1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #420c0f;
/* rgb */ color: rgb(66, 12, 15);
/* oklch */ color: oklch(25.4% 0.082 22.4);
Tailwind
colors: {
  custom: {
    50: '#7b504d',
    500: '#420c0f',
    950: '#000000',
  },
}
SCSS
$custom: #420c0f;
$custom-light: #7b504d;
$custom-dark: #000000;
JSON
{
  "hex": "#420c0f",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 15
  },
  "hsl": {
    "h": 356.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25422,
    "c": 0.08227,
    "h": 22.4
  },
  "luminance": 0.01456
}

Semantic roles & 50–950 ramp

primary
#420C0F
secondary
#2C7E79
accent
#ECE23C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #420C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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