#420512#420512

#420512 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.7% C 0.090 H 15.5°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#420512
RGBrgb(66, 5, 18)
HSLhsl(347, 86%, 14%)
HSVhsv(347, 92%, 26%)
CMYKcmyk(0%, 92.4%, 72.7%, 74.1%)
CIE-LABlab(11.35, 29.01, 9.58)
CIE-LCHlch(11.35, 30.55, 18.28°)
OKLaboklab(24.72% 0.0868 0.024)
OKLCHoklch(24.72% 0.09 15.5)
XYZxyz(2.4105, 1.3108, 0.6982)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420512 #054235
analogous
#420531 #420512 #421705
triadic
#420512 #124205 #051242
tetradic
#420512 #314205 #054235 #170542
square
#420512 #314205 #054235 #170542
split-complementary
#420512 #054217 #053142
monochromatic
#1C0208 #1C0208 #420512 #7B0922 #B40E31

Accessibility & contrast

On white

16.64
#420512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#420512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420512
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420512#FFFFFF#000000##FFFFFF
##4205121.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171612
Deuteranopia (green-blind)
#272310
Tritanopia (blue-blind)
#49000A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #420512;
/* rgb */ color: rgb(66, 5, 18);
/* oklch */ color: oklch(24.7% 0.090 15.5);
Tailwind
colors: {
  custom: {
    50: '#7c4c4f',
    500: '#420512',
    950: '#000000',
  },
}
SCSS
$custom: #420512;
$custom-light: #7c4c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#420512",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 347.213,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24719,
    "c": 0.09005,
    "h": 15.5
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#420512
secondary
#20826D
accent
#FCD02C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #420512

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

Preview Lab → · Contrast checker → · Palette generator →

#420512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva