#420F17#420F17

#420F17 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.0% C 0.078 H 15.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#420F17
RGBrgb(66, 15, 23)
HSLhsl(351, 63%, 16%)
HSVhsv(351, 77%, 26%)
CMYKcmyk(0%, 77.3%, 65.2%, 74.1%)
CIE-LABlab(13.00, 25.13, 8.44)
CIE-LCHlch(13.00, 26.51, 18.57°)
OKLaboklab(25.98% 0.0754 0.0209)
OKLCHoklch(25.98% 0.078 15.5)
XYZxyz(2.5725, 1.5621, 0.9765)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F17 #0F423A
analogous
#420F30 #420F17 #42200F
triadic
#420F17 #17420F #0F1742
tetradic
#420F17 #30420F #0F423A #200F42
square
#420F17 #30420F #0F423A #200F42
split-complementary
#420F17 #0F4220 #0F3042
monochromatic
#190609 #190609 #420F17 #741A28 #A6263A

Accessibility & contrast

On white

16.00
#420F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#420F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F17
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F17#FFFFFF#000000##FFFFFF
##420F171.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1B17
Deuteranopia (green-blind)
#292516
Tritanopia (blue-blind)
#490512
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420f17;
/* rgb */ color: rgb(66, 15, 23);
/* oklch */ color: oklch(26.0% 0.078 15.5);
Tailwind
colors: {
  custom: {
    50: '#7a5153',
    500: '#420f17',
    950: '#000000',
  },
}
SCSS
$custom: #420f17;
$custom-light: #7a5153;
$custom-dark: #000000;
JSON
{
  "hex": "#420f17",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 23
  },
  "hsl": {
    "h": 350.588,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25978,
    "c": 0.07828,
    "h": 15.5
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#420F17
secondary
#307C71
accent
#E6CC42
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #420F17

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

Preview Lab → · Contrast checker → · Palette generator →

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